The Rails Way

by
Edition: 1st
Format: Paperback
Pub. Date: 2007-11-16
Publisher(s): Addison-Wesley Professional
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $57.74

Rent Book

Select for Price
There was a problem. Please try again later.

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

The expert guide to building Ruby on Rails applications Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value. Now, for the first time, therers"s a comprehensive, authoritative guide to building production-quality software with Rails. Pioneering Rails developer Obie Fernandez and a team of experts illuminate the entire Rails API, along with the Ruby idioms, design approaches, libraries, and plug-ins that make Rails so valuable. Drawing on their unsurpassed experience, they address the real challenges development teams face, showing how to use Railsrs" tools and best practices to maximize productivity and build polished applications users will enjoy. Using detailed code examples, Obie systematically covers Railsrs" key capabilities and subsystems. He presents advanced programming techniques, introduces open source libraries that facilitate easy Rails adoption, and offers important insights into testing and production deployment. Dive deep into the Rails codebase together, discovering why Rails behaves as it does and how to make it behave the way you want it to. This book will help you Increase your productivity as a web developer Realize the overall joy of programming with Ruby on Rails Learn whatrs"s new in Rails 2.0 Drive design and protect long-term maintainability with TestUnit and RSpec Understand and manage complex program flow in Rails controllers Leverage Railsrs" support for designing REST-compliant APIs Master sophisticated Rails routing concepts and techniques Examine and troubleshoot Rails routing Make the most of ActiveRecord object-relational mapping Utilize Ajax within your Rails applications Incorporate logins and authentication into your application Extend Rails with the best third-party plug-ins and write your own Integrate email services into your applications with ActionMailer Choose the right Rails production configurations Streamline deployment with Capistrano

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

Startupp. 2
Default Environment Settingsp. 2
Bootstrappingp. 3
RubyGemsp. 5
Initializerp. 6
Default Load Pathsp. 6
Rails, Modules, and Auto-Loading Codep. 7
Builtin Rails Infop. 8
Configurationp. 9
Additional Configurationp. 13
Development Modep. 14
Automatic Class Reloadingp. 15
The Rails Class Loaderp. 15
Test Modep. 17
Production Modep. 17
Loggingp. 18
Rails Log Filesp. 20
Log File Analysisp. 22
Syslogp. 24
Conclusionp. 25
Referencesp. 25
Working with Controllersp. 27
The Dispatcher: Where It All Beginsp. 28
Request Handlingp. 28
Getting Intimate with the Dispatcherp. 29
Render unto Viewhellipp. 31
When in Doubt, Renderp. 32
Explicit Renderingp. 33
Rendering Another Action's Templatep. 33
Rendering a Different Template Altogetherp. 34
Rendering a Partial Templatep. 35
Rendering Inline Template Code 35
Rendering Textp. 35
Rendering Other Types of Structured Datap. 36
Rendering Nothingp. 36
Rendering Optionsp. 37
Redirectingp. 39
Controller/View Communicationp. 42
Filtersp. 43
Filter Inheritancep. 44
Filter Typesp. 46
Filter Chain Orderingp. 47
Around Filtersp. 48
Filter Chain Skippingp. 49
Filter Conditionsp. 50
Filter Chain Haltingp. 50
Streamingp. 51
send_data(data, options = {})p. 51
send_file(path, options = {})p. 52
Letting the Web Server Send Filesp. 55
Conclusionp. 56
Referencesp. 56
Routingp. 57
The Two Purposes of Routingp. 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.