
The Rails Way
by Fernandez, Obie-
This Item Qualifies for Free Shipping!*
*Excludes marketplace orders.
Rent Book
New Book
We're Sorry
Sold Out
Used Book
We're Sorry
Sold Out
eBook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Obie Fernandez is a recognized tech industry leader and independent consultant. He has been hacking computers since he got his first Commodore VIC-20 in the eighties, and found himself in the right place and time as a programmer on some of the first Java enterprise projects of the mid-nineties. He moved to Atlanta, Georgia, in 1998 and gained prominence as lead architect of local startup success MediaOcean. He also founded the Extreme Programming (later Agile Atlanta) User Group and was that group’s president and organizer for several years. In 2004, he made the move back into the enterprise, tackling high-risk, progressive projects for world-renowned consultancy ThoughtWorks. He has been evangelizing Ruby and Rails online via blog posts and publications since early 2005, and earned himself quite a bit of notoriety (and trash talking) from his old friends in the Java open-source community. Since then, he has presented on a regular basis at numerous industry events and user group meetings, and even does the occasional training gig for corporations and groups wanting to get into Rails development. Nowadays, Obie specializes in the development and marketing of large-scale, web-based applications.
Table of Contents
Startup | p. 2 |
Default Environment Settings | p. 2 |
Bootstrapping | p. 3 |
RubyGems | p. 5 |
Initializer | p. 6 |
Default Load Paths | p. 6 |
Rails, Modules, and Auto-Loading Code | p. 7 |
Builtin Rails Info | p. 8 |
Configuration | p. 9 |
Additional Configuration | p. 13 |
Development Mode | p. 14 |
Automatic Class Reloading | p. 15 |
The Rails Class Loader | p. 15 |
Test Mode | p. 17 |
Production Mode | p. 17 |
Logging | p. 18 |
Rails Log Files | p. 20 |
Log File Analysis | p. 22 |
Syslog | p. 24 |
Conclusion | p. 25 |
References | p. 25 |
Working with Controllers | p. 27 |
The Dispatcher: Where It All Begins | p. 28 |
Request Handling | p. 28 |
Getting Intimate with the Dispatcher | p. 29 |
Render unto Viewhellip | p. 31 |
When in Doubt, Render | p. 32 |
Explicit Rendering | p. 33 |
Rendering Another Action's Template | p. 33 |
Rendering a Different Template Altogether | p. 34 |
Rendering a Partial Template | p. 35 |
Rendering Inline Template Code 35 | |
Rendering Text | p. 35 |
Rendering Other Types of Structured Data | p. 36 |
Rendering Nothing | p. 36 |
Rendering Options | p. 37 |
Redirecting | p. 39 |
Controller/View Communication | p. 42 |
Filters | p. 43 |
Filter Inheritance | p. 44 |
Filter Types | p. 46 |
Filter Chain Ordering | p. 47 |
Around Filters | p. 48 |
Filter Chain Skipping | p. 49 |
Filter Conditions | p. 50 |
Filter Chain Halting | p. 50 |
Streaming | p. 51 |
send_data(data, options = {}) | p. 51 |
send_file(path, options = {}) | p. 52 |
Letting the Web Server Send Files | p. 55 |
Conclusion | p. 56 |
References | p. 56 |
Routing | p. 57 |
The Two Purposes of Routing | p. 58 |
Table of Contents provided by Publisher. All Rights Reserved. |
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.