Search

Table of Contents
Simply Rails 2.0
BOOK:
Simply Rails 2.0
Browse by Category
 
 
Hide Left Column
Simply Rails 2.0
Simply Rails 2.0
by Patrick Lenz

Publisher: Sitepoint
Pub Date: May 7, 2008
Print ISBN-13: 978-0-980-45520-5
Pages: 450
Slots: 1.0
Start Reading
Buy Print Version
Overview

Want to learn all about Ruby on Rails 2.0, the web application framework that is inspiring developers around the world?

The 2nd edition of this practical hands-on guide for first-time Ruby on Rails programmers will walk you through installing the required software on a Windows, Mac or Linux computer. And before you get coding, an entire chapter is devoted to object oriented programming in Ruby, so you'll be completely confident with the Ruby language before you begin working with Rails.

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.

 
Editorial Reviews
Product 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
 
Reader Reviews From Amazon (Ranked by 'Helpfulness')
Average Customer Rating:based on 22 reviews.
Helps you understand concepts and get the big picture, 2009-04-22
Reviewer rating:
I started out buying Agile web Dev with Rails http://www.amazon.com/Agile-Web-Development-Rails-Third/dp/1934356166/ and wasn't learning much.

This book helps you get the big picture. He explains in detail how to do things, then shows you how its done. He wants you to see the big picture before you do anything. He even shows you errors you may get and how to fix them. There's an awesome intro to Ruby and to the Unix Terminal that was very helpful. I understood everything before I built it (as opposed to building it and briefly explaining what's going on).
The best entry-level Rails book., 2009-03-30
Reviewer rating:
It's all in the title. This is simply the best introduction to Rails. Great to work through, well written, and a satisfying result.
Good Start for Ruby on Rails, 2009-03-19
Reviewer rating:
While this book doesn't have all the details of Ruby, it does a great job of explaining Ruby on Rails. The writing is easy to follow and so far I have really enjoyed reading it. Another good point is that it's up to date. I am not sure how useful this book will be for me in the future as my RoR skills become more advanced.
Well written for experienced developers, 2009-02-09
Reviewer rating:
I was working through a free copy of version one when version two came out. Wanting the latest explanation, I purchased this book, and am very satisfied. The author has a clear, easy to follow style. If you are looking for a reference, or a tutorial on just Ruby, this is not your book. But there are many excellent Ruby tutorials and cheet sheets available on line.

To me, the fact that this is not focused solely on Ruby makes it perfect for developers with experience in some similar languages; Perl, Java, etc.; for whom much of the Ruby syntax will come quite naturally after a brief intro.

The well designed Rails framework, though, requires deeper explanations, and this book shines in this department.
Terrific book; great intro to Ruby and RoR, 2008-12-13
Reviewer rating:
Patrick gives a terrific intro to Ruby and RoR through the book-long creation of a sample application from scratch to something pretty impressive. While I'm far from a Ruby or Rails expert, with the background and experience obtained from SR2, I'm able to easily fly through 'the' reference books and find what I need (The Rails Way, The Ruby Way).

What I didn't expect to find and did!

- Introduction to Ruby
- Introduction to OOP
- Such a strong focus on testing (though not TDD, hence the 4 stars)
- A full chapter on debugging and performance analysis! (yes!!)

Here's why you need to buy this book:

- Consolidated Rails 2 information, one of the only of its kind that gets consistently good reviews.
- Pauses in the ride to introduce important concepts like REST, rather than just telling you to do something without giving you the background to understand why Rails 2 is focused on resources.
- Conversational writing style; easy to read and understand. Unlike the book on Flash I have, you won't have to read things twice or wonder what the heck you're supposed to be doing with an example.

Overall, I'm very happy with this purchase and have recommended it to anyone I know interested in RoR.
 
Some information above was provided using data from Amazon.com. View at Amazon >
Simply Rails 2.0
Simply Rails 2.0
by Patrick Lenz

Publisher: Sitepoint
Pub Date: May 7, 2008
Print ISBN-13: 978-0-980-45520-5
Pages: 450
Slots: 1.0
Start Reading
Buy Print Version
Company | Terms of Service | Privacy Policy | Contact Us | Help | 508 Compliance | Subscribe Now
© 2009 Safari Books Online. All rights reserved.