About this Book
- 792 pages
- Release: P7.0 (2010-09-14)
- ISBN: 978-1-93435-616-6
This edition covers Rails 2.x. For Rails 3.2, please see the Fourth edition 3.2
For Rails 4.0, please see the Fourth Edition 4.0
PLEASE MAKE SURE YOU’RE BUYING THE RIGHT EDITION.
Rails swept to world-wide attention in the Spring of 2005. Since then, it has become a serious and popular alternative to traditional web development environments such as Java and .NET. Why? Because Rails has the best of both worlds.
You want to write professional-grade applications: Rails is a full-stack, open-source web framework, with integrated support for unit, functional, and integration testing. It enforces good design principles, consistency of code across your team (and across your organization), and proper release management.
But Rails is more than a set of best practices. Rails also makes it both fun and easy to turn out very cool web applications. Need Ajax support, so your web applications are highly interactive? Rails has it built in. Want an application that sends and receives e-mail? produces and consumes web services? supports meaningful URLs? Want to write applications with a REST-based interface (so they can interact with other RESTful applications with almost no effort on your part)? All built-in.
As with the previous editions of the book, we start with an extended tutorial that builds parts of an online store. And, of course, the application has been rewritten to show the best of Rails 2.
Contents and Extracts
- Getting Started
- The Architecture of Rails Applications
- Installing Rails
- Instant Gratification
- Building an Application
- The Depot Application
- Task A: Product Maintenance
- Task B: Catalog Display excerpt
- Task C: Cart Creation
- Task D: Add a Dash of Ajax
- Task E: Check Out!
- Task F: Administration
- Task G: One Last Wafer-Thin Change
- Task I: Internationalization
- Task T: Testing
- Working with the Rails Framework
- Rails in Depth
- Active Support
- Active Record Part I:The Basics
- Active Record Part II:Relationships Between Tables
- Active Record Part III:Object Life Cycle
- Action Controller: Routing and URLs excerpt
- Action Controller and Rails
- Action View
- The Web, v2.0
- Action Mailer
- Active Resources
- Securing and Deploying Your Application
- Securing Your Rails Application
- Deployment and Production
- Introduction to Ruby
- Configuration Parameters
- Source Code