[O'Reilly Cookbook 01] • Rails Cookbook

[O'Reilly Cookbook 01] • Rails Cookbook

Rails Cookbook is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services.

With applications that are code light, feature-full and built to scale quickly, Rails has revolutionized web development. The Rails Cookbook addresses scores of real-world challenges; each one includes a tested solution, plus a discussion of how and why it works, so that you can adapt the techniques to similar situations. Topics include:

Modeling data with the ActiveRecord library

Setting up views with ActionView and RHTML templates

Building your application's logic into ActionController

Testing and debugging your Rails application

Building responsive web applications using JavaScript and Ajax

Ensuring that your application is security and performs well

Deploying your application with Mongrel and Apache

Using Capistrano to automate deployment

Using the many Rails plugins

Working with graphics

Whether you're new to Rails or an experienced developer, you'll discover ways to test, debug and secure your applications, incorporate Ajax, use caching to improve performance, and put your application into production. Want to get ahead of the Web 2.0 curve? This valuable cookbook will save you hundreds of hours when developing applications with Rails.