Ruby on Rails is not just a locomotive moving on down the line. It is a bullet train moving at two hundred miles an hour. I say this because Agile Web Development With Rails is already in its second edition in only a year and a half. There has been that much change to the base framework to warrant an upgrade to the book in so little time.
What is Ruby on Rails - also known as Rails? It is a framework that makes it easier to develop, deploy, and maintain web applications. It uses Model-View-Controller (MVC) architecture as do many Java frameworks, but Rails takes it further in that it is almost as if you start out with the skeleton of an application already prepared. Rails is written in Ruby, a modern, object-oriented scripting language that runs on Windows, Linux, and Mac.
Agile Web Development With Rails is formatted into five parts, further subdivided into twenty-seven chapters and four appendices. The complete source code to the Application developed during the course of the book is available online as well.
The first part, "Getting Started," does just that. It gets you up to speed on what you will need to do to get Rails installed and set up to be productive. The authors explain the architecture, how to install Rails, and they give you some instant gratification in writing some code to see how all of this will work - as well as to make sure you installed everything correctly.
Part two, "Building an Application," describes the "Depot" - a web based shopping cart application that will illustrate many of the concepts of Rails development. The authors try to emulate a realistic development cycle of incremental development. They begin with an initial specification that will allow them to begin development and cycle back for more refinement. This part is broken down into eight sections that take you through building the maintenance section, creating a catalog, a cart, a check-out page, user administration, and into testing of the application.
Part three is "The Rails Framework." Now that you have built the basics of the project, it is time to step back and dig deeper into Rails. Here the authors are going to go through, topic-by-topic and module-by-module so you can understand the directory structures, configuration, environments, support classes, and debugging issues for you to become a better Rails developer. They also go into the use of XML-RPC based and SOAP-based web services. While you may want to use the lighter-weight REST approach for new applications, they provide the information you may need to interface with existing web services.