Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
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.

Agile Web Development with Rails 3.2 [Paperback]

Sam Ruby , Dave Thomas , David Heinemeier Hansson
5.0 out of 5 stars  See all reviews (1 customer review)
List Price: CDN$ 54.95
Price: CDN$ 34.62 & FREE Shipping. Details
You Save: CDN$ 20.33 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Wednesday, September 3? Choose One-Day Shipping at checkout.
Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada


Book Description

April 14 2011 1934356549 978-1934356548 Fourth Edition

Rails just keeps on changing. Rails 3 and Ruby 1.9 bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been reorganized and refocused so it's more useful than ever before for developers new to Ruby and Rails.

Rails 3 is a major release--the changes aren't just incremental, but structural. So we decided to follow suit. This book isn't just a mild reworking of the previous edition to make it run with the new Rails. Instead, it's a complete refactoring.

You'll still find the Depot example at the front, but you'll also find testing knitted right in. Gone are the long reference chapters--that's what the web does best. Instead you'll find more targeted information on all the aspects of Rails that you'll need to be a successful Web developer.

Now Updated for Rails 3.2

Rails 3.1 and Rails 3.2 introduce many user-facing changes, and this release has been updated to match all the latest changes and new best practices in Rails 3.1 and Rails 3.2. This includes full support for Ruby 1.9.2 hash syntax; incorporation of the new Sprockets 2.0 Asset Pipeline, including SCSS and CoffeeScript; jQuery now being the default; reversible migrations; JSON response support; Rack::Cache, and much more.

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.

Tens of thousands of developers have used this award-winning book to learn Rails. It's a broad, far-reaching tutorial and reference that's recommended by the Rails core team. If you're new to Rails, you'll get step-by-step guidance. If you're an experienced developer, this book will give you the comprehensive, insider information you need.

Rails has evolved over the years, and this book has evolved along with it. We still start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. This edition now gives new Ruby and Rails users more information on the Ruby language and takes more time to explain key concepts throughout. Best practices on how to apply Rails continue to change, and this edition keeps up. Examples use cookie backed sessions, HTTP authentication, and Active Record-based forms, and the book focuses throughout on the right way to use Rails. Additionally, this edition now reflects Ruby 1.9, a new release of Ruby with substantial functional and performance improvements.


Special Offers and Product Promotions

  • Join Amazon Student in Canada


Frequently Bought Together

Agile Web Development with Rails 3.2 + Rails Recipes: Rails 3 Edition
Price For Both: CDN$ 57.93


Customers Who Bought This Item Also Bought


Product Details


Product Description

About the Author

Sam Ruby is a prominent software developer who is a co-chair of the W3C HTML Working Group and has made significant contributions to many of the Apache Software Foundation's open source software projects. He is a Senior Technical Staff Member in the Emerging Technologies Group of IBM.

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of "Programming Ruby," he understands Ruby. And, as an active Rails developer, he knows Rails.

David Heinemeier Hansson is the creator of the Rails framework.


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

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars A good choice / un choix judicieux Dec 20 2012
By mbuser
Format:Paperback|Verified Purchase
A good way to jump in Rails ! Fits with the tutorials you can find online as the perfect wingman !

Ce livre m'a permis de me plonger dans Rails assez facilement, clair et concis. Je m'en suis servis avec le fameux rails tutoriel !
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.6 out of 5 stars  45 reviews
29 of 33 people found the following review helpful
4.0 out of 5 stars The near de-facto edition to your Rails library, with one caveat June 5 2011
By Ends of the World - Published on Amazon.com
Format:Paperback|Verified Purchase
I only got into Ruby on Rails in the last year and have been incredibly impressed with it and enthusiastic to grab any book I can to increase my knowledge of it. I was told that Agile Web Development with Rails was "the" Rails book to own, but the only problem was that the fourth edition was not out yet. I looked through a first edition at the local library, but took it with a grain of salt as I knew a lot of that information was outdated, and so, the wait continued and other Rails books I checked out. Finally, this was released and I have now read through the entire book.

It is a little unique over Rails books due to the order of things. Where all the other books tend to start off explaining all the features, terms and and functionality behind the framework and starts working you through a demo app later on, Agile Web Development goes in the opposite direction as it starts you out immediately building the demo app, then the second half of the book goes into the specifics of Rails in more details. As anyone who has read any other edition of this book will already know, you will be building a demo app of a e-commerce store. Although it's not to completion, that's not really the point of it; the app will take you through a handful of different Rails 3 details and by the time you're done reading - or building along - you should have a fairly good grip on how to do different things in Rails. Once in a while, people in the Rails community like DHH and others will chime in with thoughts and tips.

It's a little hard for me to review this book as a complete stranger to Rails, as I have read through other Rails books prior to this. But while I might be more of a fan of the Apress Beginning Rails book, what was great about Agile Web Development was that I still was learning new things like stuff I didn't know you could do in migrations, formatting helpers, etc. So my time with this book was well spent and I am glad to have this on my shelf. Probably the only ones I would not recommend this book to is advanced Rails programmers, especially as they may already own an older edition of the book and I feel they would have caught up to speed on the Rails 3 changes by now. So for the most part, newbies only.

However, I have to point out one thing. This book took a while getting out to market and only appeared a few short months ago, and already it may be outdated...kind of. Rails 3.1 is coming - likely by the time you read this - and there are some new additions that this book won't even cover, such as the new asset pipeline, changes to migrations, SASS and Coffeescript. On the other hand, it's not like the information in this book is suddenly worthless, 99% of it will likely still apply to your projects. It's just something to keep in mind as you're reading this book; I recommend finishing this book then hopping on the web and watching a few Railscasts on Rails 3.1 to fully catch you up.
44 of 53 people found the following review helpful
2.0 out of 5 stars An otherwise good book is seriously damaged Nov. 3 2011
By Paulo C. Rios Jr. - Published on Amazon.com
Format:Paperback
What happened? The authors are leaders in the field and the publisher is well-known and respected. This is already the 4th edition of the book (that shows its staying power). The book now covers the latest Rails version 3.1. There is a complete application and lots of useful material. So what is so wrong about this book? Is it because the book is actually meant for intermediate learners and not beginners? Well, I am afraid this is not the reason why. I wouldn't recommend this book to any intermediate learners either.

The book suffers from a lack of proper reviews that have pointed out the many pedagogical errors in style, sequence and content that the book has. One must work hard to grasp what is being taught. It requires a lot of motivation, reviewing and double checking. Too much is given at once, in the wrong order and with little explanation (if any). Too much is left open. Proper subject matter review for a consistent explanation isn't available.There is a summary at the end of each chapter, but it is as a statement of goals "achieved" and not an explanation. I could list many examples. One can easily get lost following (or trying to follow...) the book. It can be a real pain.

I have also checked the former, 3rd edition. It is better than this one. For example, the development of the sample application is better explained. In the current edition, a lot of text has been removed, including lots of critical parts needed to understand how the sample application is being built. The reader is left confused, trying to make sense of what is left. Truly bad editing, I must admit. The program code itself has changed dramatically. The new and the old text (program code and explanations) don't work together well at all. With each new edition of the book, the editing seems to get worse.

While beginners (the ones that always get hit the hardest) will suffer through this book, others in the same situation will have fun, joy and understanding with a book like "Head First Rails" that shows how Rails can and should be taught (independent from the style of the book). This great Head First Rails book has not been updated to Rails version 3, although it is still useful and the one I would recommend for a beginner.

So, unfortunately this is a flawed book at its core essence: to teach Rails. The material is all there, its authors are all expected to be experts in the area. But the guided hand of a good teacher isn't there. I wish a new edition would make up for the flaws and turn this book into the outstanding classic that it could and can be.

As there are very few books that cover the latest releases of Rails, this book may also contribute to lessen the usage of Rails itself, as many will turn away from it for a lack of proper learning resources, including from some of the leading experts in the field -- who were supposed to help to lead the way! Really disappointing...

Take, for example, page 161 of this fourth edition. Figure 22 is a detailed diagram showing how an instance variable is created in the controller, visible to the view in a form and related to a model object. The diagram shows the editing of an order object in a form, but the text nearby is instead discussing the creation of a new order object. This text takes four lines to explain once more that the action in the controller (in this case, the "new" action) matches a view with the same name ("new") under the directory views/orders. A detailed explanation once more. Fine. But the next line has already the code for a form and a partial, with no further explanation (so what is a partial, which convention is used by Rails for partials, why would we want to use one here?). Now the book assumes that the reader remembers it all, although this portion of the text is intended to deal with forms. Therefore, some parts of the book have been heavily edited out, some other parts have not been edited at all or have a mix of a diagram that shows example A with a text that shows example B. Some few have very detailed explanations and most have either short or just no explanations. All in the same confusing context where in the same page you are often confronted with many different technologies at once.

One of the creators of Rails is a co-author of this book. I wonder how he could let this all go ahead. Worse: some portions of the book are sections that seem to have been directly written by himself, called "David says". They are truly superficial and disappointing. It is as if Einstein would add sections to a book on relativity explaining how to name variables in equations or why to use X and not Y in tests instead of giving any conceptual or useful insight in his theory of relativity.

A reviewer here called this book the "de-facto edition to your Rails library". Well, if your boss wants to use Rails in your project and you are against it, just ask your boss to give this "classic" to the developers and wait for their reaction. However, make sure that none of them comes even close to "Head First Rails" to realize that Rails is fun and not this confusing, arbirtrary and complex framework that this book shows. This book is now, in its 4th edition, a bad thing for Rails.

I have reviewed and read many books in many different areas and, as it stands, this one manages to be one of the worse of them all. This book has the power to bring down any motivation to learn anything about Rails. What is more incredible is that its authors seem to have all the skills and experience to have produced a completely different and stellar book. I wonder where what got lost. And I hope they will repair it rather sooner than late.
28 of 33 people found the following review helpful
2.0 out of 5 stars NOT a beginner's book! July 3 2011
By Alex - Published on Amazon.com
Format:Paperback
Agile Web Development gets marketed as the ultimate beginner-to-intermediate guide to developing using Ruby on Rails. I think its target audience is solidly in the intermediate camp. Starting out as a beginner by reading this book will leave you more lost than enlightened.

Rails is powerful because of the conventions it pre-assumes. For those who understand the conventions -- why they exist, why they are better than the alternative, etc. -- Rails is a dream to use because it does all the behind-the-scenes work for you. But for beginners, seeing things like ":attr_accessor" or the "_path" notation in "link_to" is just downright confusing right off the bat.

Though I find the book well-written and useful now that I'm at that intermediate level, I'm giving it two stars because of all the time I wasted reading and re-reading its passages while I was learning Rails.

I found beginner's intros to Rails available on the web [...] indispensable to give me background BEFORE reading this book.

My suggestion to the authors is to more fully flesh out explanations of all of Rails' conventions, particularly routing, passing variables from method-to-method, and linking models together. Additionally, I think the authors should initially code their examples even less concisely and then work down to make things more concise.
11 of 12 people found the following review helpful
3.0 out of 5 stars Not as Good as Previous Editions and Obsolete July 19 2011
By Josh - Published on Amazon.com
Format:Paperback|Verified Purchase
I've been programming on Rails for a while now and originally started on the previous edition of this book. When learning Rails for the first time the previous edition was indispensable. It started you off with the shopping cart application which was great and helped me to learn fast. After you completed the shopping cart application, the previous edition went into just the right amount of depth regarding the various components of Rails. For example, it had pages explaining each type of relationship (has_many, has_one, join tables) in detail with the various methods that were added and how to use each.

In the new edition, a very substantial portion of the in depth explanations are missing. It no longer is able to serve as a handy reference for me as the previous edition had done.

Additionally, Rails 3 is changing fast and might not settle down for a little while. A good portion of this book is obsolete. For example, this book still teaches readers to use the Prototype library even though Rails is switching to jQuery in 3.1. Additionally there are numerous other large changes in Rails 3.1 that are not mentioned in this book that will be essential for future Rails developers.

To the author's credit, they opted to release this book at a difficult time since Rails is changing rapidly, however I wouldn't recommend this book at this time. Its probably a better bet to buy the earlier edition for dirt cheap and then watch Ryan Bates' Railscasts to get up to speed for Rails 3.
11 of 13 people found the following review helpful
1.0 out of 5 stars Doesn't' explain the many confusing changes in 3.0. Aug. 2 2011
By David Dennis - Published on Amazon.com
Format:Paperback
I bought this book because I was confused by the many changes from Rails 1 and 2 to Rails 3. Many much loved features were removed, changed and reworked between the versions, making Rails 3 an almost completely alien environment. The best way of describing this neutrally is that examples of core functionality from previous versions of the book don't work in Rails 3.

I was particularly interested in the changes to Ajax support. Basically, Rails 3 removes much of the automation of Ajax that existed in older versions, requiring you to roll your own. I was hoping that the new book would explain these changes and differences.

Well, not to put too fine a point on it, it doesn't. The one Ajax example is almost incomprehensible - it shows the code, but doesn't explain why it works the way it does. Why are you creating a Javascript template? How does the JavaScript template work? Less than half a page was devoted to answering this question, and even several readings of it have not given me a clear answer.

You could certainly tell me that I should have read the book in the store, which I did, hoping things would become clearer when I sat down at my computer. But they didn't.

I'm sure this book is still a good tutorial for someone starting out with Rails 3.0. But it does not work at all as a transition guide to the new Rails. Surprisingly, there is also very little in the way of online resources to help in this transition.

Rails is free, and so Rails' developers owe me nothing. But I wish they had had mercy on those who loved the way Rails 1.0 worked. Rails 2.0 required a lot of gratuitous changes to my code, and Rails 3 requires incomprehensible changes, and alas, I have no clue why these things were done and what I'm supposed to gain from the loss of beloved features like observe_field . Even after hours of searches, I have not found a satisfactory explanation for how things work today.

So alas, you should avoid this book like the plague if you want to know what happened to old Rails features and how to adapt to the brave new rails world. It won't tell you.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category


Feedback