Agile web development with rails



The definitive, Jolt-award winning guide to learning and using Rails isnow in its Second Edition. Rails is a new approach to web-basedapplication development that enables developers to create full-featured,sophisticated web-based applications using less code and less effort.Now programmers can get the job done right and still leave work on time.NEW IN THE SECOND EDITION: The book has been updated to take advantageof all the new Rails 1.2 features. The sample application usesmigrations, Ajax, features a REST interface, and illustrates new Railsfeatures. There are new chapters on migrations, active support, activerecord, and action controller (including the new resources-basedrouting). The Web 2.0 and Deployment chapters have been completelyrewritten to reflect the latest thinking. Now you can learn whichenvironments are best for your style application, and see how Capistranomakes managing your site simple. All the remaining chapters have beenextensively updated. Finally, hundreds of comments from readers of thefirst edition have been incorporated, making this book simply the bestavailable.Rails is a full-stack, open-source web framework that enables you tocreate full-featured, sophisticated web-based applications with atwist...you can create a full Rails application using less code than thesetup XML you'd need just to configure some other frameworks.With this book, you'll learn how to use Rails Active Record to connectbusiness objects and database tables. No more painful object-relationalmapping. Just create your business objects and let Rails do the rest.You'll learn how to use the Action Pack framework to route incomingrequests and render pages using easy-to-write templates and components.See how to exploit the Rails service frameworks to send emails, talk toweb services, and interact dynamically with Javascript applicationsrunning in the browser (the "Ajax" architecture).You'll see how easy it is to deploy Rails. You'll be writingapplications that work with your favorite database (MySQL, Oracle,Postgres, and more) in no time at all.