Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Agile Web Development with Rails, Third Edition [Paperback]

Sam Ruby , Dave Thomas , David Heinemeier Hansson
4.2 out of 5 stars  See all reviews (31 customer reviews)


Available from these sellers.


Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Paperback --  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
There is a newer edition of this item:
Agile Web Development with Rails 3.2 (Pragmatic Programmers) Agile Web Development with Rails 3.2 (Pragmatic Programmers) 3.5 out of 5 stars (41)
$28.36
In Stock.

Book Description

April 4, 2009 1934356166 978-1934356166 Third Edition

You want to write professional-grade applications: Rails is a full-stack, open-source web framework, with integrated support for unit, functional, and integration testing. It enforces good design principles, consistency of code across your team (and across your organization), and proper release management.

But Rails is more than a set of best practices. Rails makes it both fun and easy to turn out very cool web applications. Need Ajax support, so your web applications are highly interactive? Rails has it built in. Want an application that sends and receives e-mail? Built in. Supports internationalization and localization? Built in. Do you need applications with a REST-based interface (so they can interact with other RESTful applications with almost no effort on your part)? All built-in.

With this book, you'll learn how to use ActiveRecord to connect business objects and database tables. No more painful object-relational mapping. Just create your business objects and let Rails do the rest. Need to create and modify your schema? Migrations make it painless (and they're versioned, so you can roll changes backward and forward). You'll learn how to use the Action Pack framework to route incoming requests and render pages using easy-to-write templates and components. See how to exploit the Rails service frameworks to send emails, implement web services, and create dynamic, user-centric web-pages using built-in Javascript and Ajax support. There is extensive coverage of testing, and the rewritten Deployment chapter now covers Phusion Passenger.

As with the previous editions of the book, we start with an extended tutorial that builds parts of an online store. And, of course, the application has been rewritten to show the best of Rails V2.



Editorial Reviews

About the Author

Sam Ruby is a prominent software developer who has made significant contributions to the many of the Apache Software Foundation's open source projects, and to the standardization of web feeds via his involvement with the Atom web feed standard and the popular Feed Validator web service.

He currently holds a Senior Technical Staff Member position in the Emerging Technologies Group of IBM. He resides in Raleigh, North Carolina.


Product Details

  • Paperback: 850 pages
  • Publisher: Pragmatic Bookshelf; Third Edition edition (April 4, 2009)
  • Language: English
  • ISBN-10: 1934356166
  • ISBN-13: 978-1934356166
  • Product Dimensions: 7.5 x 1.2 x 9.1 inches
  • Shipping Weight: 2.3 pounds
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Best Sellers Rank: #334,131 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
23 of 24 people found the following review helpful
5.0 out of 5 stars Awesome explanations, gotchas May 30, 2009
Format:Paperback
Summary: Great book after you've learned the basics of RoR.

I'm writing this review because I disagree strongly with some of the previously submitted reviews that rated this book poorly.

This IS the book I'd HIGHLY recommend to anyone with a programming background who has gone through intro-level RoR books and online tutorials and wants to delve deeper into understanding the framework, in terms of gotchas, tips, recommended coding practices, etc.

When I go to a book store and pick up a book, I skim through it, look at the content, and see if the author(s) covered important or complex topics with an appropriate level of detail. This book nailed that part. Even in skimming the book for 5 minutes, I found explanations for several issues I had run into while learning RoR. E.g. with a has-one / belong-to relationship between 2 models, when does the relationship get saved if you associate the parent in the child, or associate the child to the parent? Things like that, which are relevant to programmers build real applications, are invaluable to know.

One thing that makes the book excellent is how well it explains options and their tradeoffs for implementation of functionality. E.g. there is an excellent writeup on the options for managing session data.
Comment | 
Was this review helpful to you?
19 of 22 people found the following review helpful
4.0 out of 5 stars Good, but not ideal May 15, 2009
By effnish
Format:Paperback
I've made it through most of this book and while it has some good coding examples it lacks thorough explanations. If you've got a solid background in development and have done a little research on Rails you'll pick up the content without too much suffering. I've been developing Java for 3 years with little to no web experience and I feel like I could struggle through my own project at this point, but there are better books out there.

I would suggest starting with Rails Foundations 2 and moving to this book later. The Foundations author does a superb job of explaining the rails framework, ActiveRecord, views, and controllers in the 1st 7 chapters before jumping into building an application. Overall that book and Simply Rails 2 strike a better balance between application development and instruction.
Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
5.0 out of 5 stars Still a "Must Have" For Those New to Rails June 8, 2009
By Larry
Format:Paperback
I don't remember earlier versions of this book getting slammed quite like this one. Maybe it's simply because there's more competition around. Regardless, I still think this is "the" Rails book to get if you're just starting out, or want a refresher on some of the main areas of Rails.
It's gotta be hard to put out a book against such a fast-moving target, and to their credit I think they did a pretty good job - for example, they were able to sneak in a description about named scopes.
My main gripe is that REST has been adopted by the Rails community for quite some time, and I think the tutorial should have been rewritten to reflect this, i.e. it could have done wihout the "add_to_cart", "who_bought", etc. actions in the controllers.
Comment | 
Was this review helpful to you?
12 of 14 people found the following review helpful
3.0 out of 5 stars a lot of fragments of do this and do that April 21, 2009
Format:Paperback|Amazon Verified Purchase
the feel i get from the pragmatic guide on Rails is: do this and do that. It gives you a lot of fragments of knowledge, without a very complete big picture, and without a complete explanation of what's going on. I tend to learn from the big picture and then going down to the details, and understand why in each step, so this book is not for me.
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Gets Better Every Time I Refer to It. December 22, 2009
Format:Paperback
Originally, I meant to use this book to learn Rails. For some reason though, I could not quite get through the material - I think that the example application (the famous depot code ) was not something I particular care for at the time, so I ended up using the Learning Rails book from O'Reilly to start learning how to build Rails apps. Then I went and did something for a while.

When I got back into Rails, I again went to the Learning Rails book and started to build a web app, however, I felt like I should be able to do more with the app I built, so I started to search around various Rails web sites, as well as the Rails API documentation; at some point, I started to refer to the Agile book again. That is when I started to understand why its so popular.

Details on Active Record / Views? Check.
Pagination? Check.
Time Zones? Check.

In fact, I think I would have saved myself a lot of time on research if I have just look up the details I wanted to know in the book. That, I believe, is the strength of this book - not only it will give you the basics of building Rails, but it will go into depth as to WHY and HOW Rails works.

Not to say that Learning Rails book is bad - I think I did better with the Learning Rails through that book and I recommend that publication to anyone getting into Rails. At the same time, if you want to get beyond the basics, you will save yourself a lot of time on research by just going through the Agile book. If nothing else, get both books.
Comment | 
Was this review helpful to you?
9 of 12 people found the following review helpful
2.0 out of 5 stars Absolutely not for beginners July 25, 2009
Format:Paperback
I had almost zero background in Web Applications (I work in embedded systems programming). Few days back I gave a shot to understanding the .Net framework, however it was just too much coding for a starter like me. Someone told me about Ruby on Rails, and I thought to give it a shot. This was the first book that I came across. However it was a total disappointment.

It seemed to me that the author was more interested in getting a website running as soon as possible. Even so that the most crucial explanations were not explained properly. Though i could follow the instructions easily, the explanation of the MVC architecture was not good.

Simply Rails 2, on the other hand proved to be a much better bet for a beginner like me. The concepts are very well explained. The example website is also a little more advanced (clone of digg.com) which helps a lot in understanding more complex applications.
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Good to start with real world app
A "must" in order to start with rails development (there are new versions of the book, so this one has become obsolete)
Published 2 months ago by Matterhorn
5.0 out of 5 stars Great book about Rails 3
This book helped me get up to date on Rails 3, it was very thorough and detailed, but kept things easy to read. A beginner could pick up this book and run with it very easily.
Published 5 months ago by Corey
4.0 out of 5 stars Definitive tutorial, but you'll soon outgrow it
Co-authored by David Heinemeier Hansson this is a definitive introduction to Rails development, walking the reader through the development of a simple e-commerce application. Read more
Published on May 24, 2011 by P. Cherryl
3.0 out of 5 stars Outdated with Release of Rails 3
First let me say that so far this has been an awesome book with the exception of one thing, it's written for Ruby on Rails 2. Read more
Published on January 5, 2011 by Matthew Loberg
5.0 out of 5 stars EXCELLENT
I bought this together with "The Ruby Programming Language" (Flanagan and Matsumoto). They're not the solve-all, best-of-all-solutions by which a Ruby neophyte can jump to the top... Read more
Published on December 30, 2010 by Michael Montagne
5.0 out of 5 stars Amazing introduction to rails which focuses on fast developer...
This is absolutely one of the best books for an introduction to RoR. I have primarily been a C++ programmer for a while who is generally suspicious of many and most things related... Read more
Published on July 22, 2010 by Sanjay Gupta
5.0 out of 5 stars Amazing handson book
I bought this book and hope I can have some concrete examples for learning RoR, it did not disappoint me. I am using a little newer version of Ruby on Rails -- version 2.3. Read more
Published on June 26, 2010 by Ziming Sun
5.0 out of 5 stars Agile Extreme on Rails
It's a good text, but it might be recommended that an Agile Development specific book be read, either beforehand or concurrently, while evolving the knowledge imparted in these... Read more
Published on April 30, 2010 by Brian L. Donat
5.0 out of 5 stars Excellent Resource
I picked up this book after reading a different Rails book. The other book was okay, but left me with a lot of questions. That is not the case with this book. Read more
Published on March 8, 2010 by Gerald S. Radcliff
4.0 out of 5 stars Great Book if you Have Some Previous Programming Experience
I read this book in bits and pieces over the past 6 months, in between nights of writing code and spending time with my 8 month old. Read more
Published on February 23, 2010 by Chris Stringer
Search Customer Reviews
Only search this product's reviews


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category