Editorial Product Review:Item Description:Want to learn all about Ruby on Rails 2.0, the web application framework that is inspiring developers around the world?
The second edition of this practical, hands on book will:
- show you how to install Ruby on Rails on Windows, Mac, or Linux
- walk you, step by step, through the development of a Web 2.0 social news application, just like digg.com
- show you how to test, debug, benchmark, and deploy your Rails application
Unlike other Rails books, this book doesn't assume that you are an experienced web developer, or that you've used Ruby before. An entire chapter is devoted to learning Ruby in a fun way, using the interactive Ruby console, so you can follow along at home. You'll be an accomplished Ruby programmer in no time!
The example application that the book builds - a user-generated news web site - is built upon with each following chapter, and concepts such as sessions, cookies and basic AJAX usage are gradually introduced. Different aspects of Rails, such as user authentication, session cookies, and automated testing are explored with each feature that is added to the application.
The book finishes with chapters on debugging, benchmarking and deployment to a live web server.
By the end of the book, you'll have built a fully-featured Web 2.0 application and deployed it to the Web. And all code is up-to-date for Rails 2.0, so you can begin coding immediately with the latest version of Rails.
What Will You Learn? This book will teach you how to:
- Program with confidence in the Ruby language.
- Build and deploy a complete Rails web application.
- Exploit the new features available in Rails 2.
- Use Rails' Ajax features to create slick interfaces.
- Reap the benefits of a best-practice MVC architecture.
- Work with databases easily using ActiveRecord.
- Implement RESTful development patterns and clean URLs.
- Create a user authentication system.
- Use object oriented concepts like inheritance and polymorphism.
- Build a comprehensive automated testing suite for your application.
- Add plugins to easily enhance your application's functionality.
- Use migrations to manage your database schema without data loss.
- Achieve maximum code reuse with filters and helper functions.
- Debug your application using the ruby_debug client.
- Analyze your application's performance using the Rails logging infrastructure.
- Benchmark your application to determine performance bottlenecks.
- And a whole lot more
Product Availability: Usually ships in 24 hours
More related to this product:
click for more
More related to this product:
Buyer Reviews
Average Buyer Rating:

Customer Rating: 
-
Great book for RoR beginner!
Using this book for my class, find it is easy and detail for a beginner in RoR!
Customer Rating: 
-
Easiest to Read Tech Book
I have read the forward and the first three chapters of this book. I am not all the way through it yet. However, thus far it has been the most enjoyable technical book I have yet read. I have learned several languages from books, and this book teaches you how to program in a fun way. The book is written more like the instruction manual for a video game than it is written like a programming textbook.
As I wrote before, I am only three chapters in, but I am excited to keep going. The book makes Ruby feel like a fun and exciting language and I am looking forward to the next chapter.
Customer Rating: 
-
Beginner book only
This book is useful for those who need to be taken by the hand, and taken step by step. After going thru the book, you have built a simple web site, but are not able to build your own. If you are brand new to Ruby on Rails, this may be your starter book, but will need to follow up with Agile Web Development with Rails.
Customer Rating: 
-
very lucid explanation; book has some limitations
THis is one of hte best beginner web app books i have ever seen (I've read books on rails, PHP , django, Zope, but not too much on .NET, ASP or java). The author takes the approach that he will introduce one coherent topic at a time thoroughly, with as little source code as possible, without digressions, exceptions or comparisons to other languages (perl, PHP, java). This he does admirably.
If i had to comment on the books limitations, i would say that there are a lot of topics that are glossed over: CSS, regular expressions, security. e.g. page 175, "regexs are confusing". I would've said that regex's are important in rails: validations, generating URL slugs, etc, and there are a lot of good resources, and also verbose mode to make them more readable. The book is pretty well indexed but "regular expressions" doesn't appear in index. p 329, you're shown how to take user input and display back in view *without* sanitizing. This is absolutely something you do not want to show in a beginner rails book. There's no mention of XSS, SQL injection, other security issues in the book, as far as i can tell. Something analogous is on p 258, where plain text passwords are stored to database, along with text that says this is not a great practice. The text should say "If you try to put this code into production, you'll probably be fired".
When you finish reading this carefully, you still won't know enough to look up issues in teh Rails Way book, which is where a aspiring Rails developer needs to be to find work. The book doesn't provide the next steps, e.g. never mentions the most often used rails plugins, ImageMagick, acts as solr/ferret, restful_auth, etc, doesn't mention any browser issues or DBMS issues. (Chap 10 covers acts_as_taggable on steroids pretty thoroughly)
But for somebody who's never done web apps, this book would have a much high comprehension rate than most others (the Dummies rails book was good, but now outdated). So for target demographic, highly recommended.
I would also say that the book's ruby overview is kind of inadequate (rails books either do a handholding ruby in 25 pages chapter, or a detailed view of metaprogramming, gotchas and edge/corner cases). I prefer the latter (as in Ediger "advanced Rails" and Rappin "Professional Rails", both superb books)