Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
41 used & new from $4.99

Have one to sell? Sell yours here
 
   
Agile Web Development with Rails, 2nd Edition
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Agile Web Development with Rails, 2nd Edition (Paperback)

by Dave Thomas (Author), David Hansson (Author), Leon Breedt (Author), Mike Clark (Author), James Duncan Davidson (Author), Justin Gehtland (Author), Andreas Schwarz (Author)
4.6 out of 5 stars See all reviews (109 customer reviews)

List Price: $39.95
Price: $35.95 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.00 (10%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 13? Choose One-Day Shipping at checkout. Details
9 new from $9.99 32 used from $4.99
Also Available in: List Price: Our Price: Other Offers:
Paperback (Illustrated) 65 used & new from $0.01
There is a newer edition of this item:
Agile Web Development with Rails, Third Edition Agile Web Development with Rails, Third Edition 3.8 out of 5 stars (10)
$29.01
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?

Frequently Bought Together

Agile Web Development with Rails, 2nd Edition + Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) + The Ruby Programming Language

Customers Who Bought This Item Also Bought

Rails Recipes (Pragmatic Programmers)

Rails Recipes (Pragmatic Programmers)

by Chad Fowler
4.4 out of 5 stars (14)  $21.75
Ajax on Rails

Ajax on Rails

by Scott Raymond
4.2 out of 5 stars (16)  $29.19
Rails Cookbook (Cookbooks (O'Reilly))

Rails Cookbook (Cookbooks (O'Reilly))

by Rob Orsini
4.6 out of 5 stars (14)  $26.39
Ruby for Rails: Ruby Techniques for Rails Developers

Ruby for Rails: Ruby Techniques for Rails Developers

by David Black
4.2 out of 5 stars (55)  $29.67
Ruby Cookbook (Cookbooks (O'Reilly))

Ruby Cookbook (Cookbooks (O'Reilly))

by Lucas Carlson
4.7 out of 5 stars (30)  $31.49
Explore similar items

Editorial Reviews

Review
"It's early days for the language so it's no surprise there's only a handful of books out there. Yet it's hard to see why you would need anything more than Agile Web Development with Rails. Programming books, in particular, rarely seem to answer queries straight away, but this one tackles the myths surrounding Rails straight off, and in plain English. But don't panic, it's not a Dummies guide - it will teach you how to use Rails to eliminate tedious web app configuration and, crucially, how to integrate it into AJAX." .NET, December 2005 --This text refers to an out of print or unavailable edition of this title.

Product Description
The definitive, Jolt-award winning guide to learning and using Rails is now in its Second Edition. Rails is a new approach to web-based application 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 advantage of all the new Rails 1.2 features. The sample application uses migrations, Ajax, features a REST interface, and illustrates new Rails features. There are new chapters on migrations, active support, active record, and action controller (including the new resources-based routing). The Web 2.0 and Deployment chapters have been completely rewritten to reflect the latest thinking. Now you can learn which environments are best for your style application, and see how Capistrano makes managing your site simple. All the remaining chapters have been extensively updated. Finally, hundreds of comments from readers of the first edition have been incorporated, making this book simply the best available.

Rails is a full-stack, open source web framework that enables you to create full-featured, sophisticated web-based applications with a twist...you can create a full Rails application using less code than the setup XML you'd need just to configure some other frameworks.

With this book, you'll learn how to use Rails Active Record to connect business objects and database tables. No more painful object-relational mapping. Just create your business objects and let Rails do the rest. 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, talk to web services, and interact dynamically with JavaScript applications running in the browser (the "Ajax" architecture).

You'll see how easy it is to deploy Rails. You'll be writing applications that work with your favorite database (MySQL, Oracle, Postgres, and more) in no time at all.

See all Editorial Reviews


Product Details

  • Paperback: 720 pages
  • Publisher: Pragmatic Bookshelf; 2 edition (December 14, 2006)
  • Language: English
  • ISBN-10: 0977616630
  • ISBN-13: 978-0977616633
  • Product Dimensions: 9 x 7.6 x 1.4 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars See all reviews (109 customer reviews)
  • Amazon.com Sales Rank: #42,390 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #59 in  Books > Computers & Internet > Networking > Data in the Enterprise > Client-Server Systems

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(46)
(38)
(17)
(7)
(3)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
Ryan Cross suggested this product show on searches for "ruby". What do you suggest?

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

 

Customer Reviews

109 Reviews
5 star:
 (81)
4 star:
 (22)
3 star:
 (2)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (109 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
151 of 156 people found the following review helpful:
5.0 out of 5 stars Excellent introduction to a fascinating framework, July 13, 2005
By M. de Mare (Amsterdam) - See all my reviews
(REAL NAME)   
Ruby on Rails is a pretty young technology. Its first release was midway 2004, and it has been gathering momentum since late 2004. It has yet to see its official 1.0 release. So it is a pleasant surprise that there already is a book available (electronically since June 2005), and that it such a good book!

Why read this book? Since Dave Thomas' credentials as a technical writer are well established (pick up The Pragmatic Programmer if you haven't got it already), this question boils down to: why learn more about Ruby on Rails?

For me, the answer was that I have long been looking for a simpler way to build web-applications. I'm a J2EE developer, and it seemed that every project I joined had a different set of frameworks. All of those frameworks could be configured to work together, and there are even frameworks whose only purpose is to make other frameworks work together. There are tools that generate stubs to wrap frameworks, and frameworks that wrap other frameworks, so that the developer needs not know what the underlying framework is.

Madness.

Rails behaves as if it were one framework. Configuration is simple (no xml) if you need it at all, since the defaults are pretty smart. Writing tests for your model and your controllers is actually easy. The API documentation is very good. Instead of mucking around with frameworks, you find yourself thinking: What do you want to do today?

Drawbacks: Is Ruby on Rails slow? Performance is acceptable, I think, especially considering that web applications are database-bound. Rails also scales well - and anyway, processors are cheap, brains are not.

Is Rails proven technology? Clearly it's not, it's the new kid on the block. More seriously, Rails is still in flux - the core api is still changing, and it could still take some time to settle down. So now is not the time to start huge Rails projects, now is the time to learn rails and build prototypes and small projects.

And with that, this book will be a tremendous help.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
101 of 104 people found the following review helpful:
5.0 out of 5 stars The best way to learn Ruby on Rails, August 8, 2005
By William T. Katz (Arlington, VA USA) - See all my reviews
(REAL NAME)   
This book was in development through July 2005 and provides a timely introduction to the excellent web framework Ruby on Rails. Rails is a full stack, open-source framework in Ruby (see rubyonrails.com). I can think of no better way of learning Rails than buying this book (and Programming Ruby, "Pickaxe 2", if you are a Ruby newbie) and working through the hands-on bookstore building exercise in a weekend. "Agile" development takes center stage, as you might imagine from the title. Because of the dynamic nature of Ruby and the way Rails extends the core language, Ruby on Rails lets you easily modify, run, and test web apps.

The first part of the book (Chapters 4 to 12) shows how to develop a bookstore app in an iterative fashion. A mock client asks for improvements and the authors show how you build a web app that meets the client's needs. A number of best practices have been distilled from other languages/platforms, and you'll see how they come together coherently in Rails. The Model-View-Controller (MVC) pattern for separating data, presentation, and business logic. Integrated testing. Ways to not repeat yourself across code and configuration files. Active Record pattern for handling data sources. In addition to what's taken from other platforms, the Rails developers extensively use the metaprogramming features of Ruby to wrap these best practice ideas in a nice domain specific language, and this book gives you a good overview of the Rails web app language. "Convention over configuration" is another key to Rails development, and a number of figures show the Rails convention in directory layout, naming, and URL mapping.

Although the book is very accessible to Ruby newbies (in part due to an appendix that provides a quick intro to the language), it assumes some knowledge of core Web technologies. You should be acquainted with HTML and databases (like MySQL). The sweet spot for this book might be PHP, Java, and .NET web programmers. The third part of the book drills down into Rails. You'll learn all about the Active Record object-relational mapping layer, and how easily you can specify relationships, validations, and structures like lists and trees. Other chapters focus on the controller and view portions of the MVC approach. The integrated "AJAX" (asynchronous javascript) support gets a chapter, as do e-mail (Action Mailer) and web service support. The book concludes with a couple of chapters on security and the best ways to deploy and scale your web app.

This book was written in an agile fashion; I can't remember another computer book that was in print a single month after editing was finished. Despite the speed of publishing, the book can't hope to cover all the new developments given the momentum of Rails. What won't be in the book but might be useful to Rails programmers? SwitchTower is a new utility to automate application deployment (among other things), and ActionStep will be a Rails-friendly framework for writing rich GUIs that target the client-side Flash player. But if you want to learn what Tim O'Reilly said might be the "perl of Web 2.0", you should start with "Agile Web Development with Rails" and supplement it liberally with readings off the web.

Highly recommended book. Although this is the first of more than a half-dozen Rails books, it'll be hard to compete with the authors of this book: Dave Thomas, who wrote the preeminent Ruby textbook, and David Heinemeier Hansson, who was the brains behind Rails.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
16 of 16 people found the following review helpful:
5.0 out of 5 stars The real agile way to develop web applications, December 28, 2005
By Ugo Cei (Pavia, PV Italy) - See all my reviews
(REAL NAME)   
Rails, or more appropriately Ruby on Rails is the new web application development framework that everyone is so excited of and raving about how it cuts development time by a factor of 10 and does away with the cumbersome XML configuration files that are the hallmark of J2EE.

Being an old Java hand, I wanted to see firsthand if there was some substance beneath all the hype. I was also intrigued by the fact that many other old Java hands whom I respect and admire, like James Duncan Davidson, Elliotte Rusty Harold, Bruce Tate, Graham Glass, and Brian McAllister are now fervent (to different degrees) rubyists and Rails-enthusiasts. If it weren't for them, I would never have undertaken this journey, probably.

But anyway, this is supposed to be a book review, not a chronicle of my ongoing discovery of Rails.

I mostly like using books to discover and learn about new technologies, so it's perfectly natural that I decided to take off with what is considered the book about Rails. And how could it be not, with Rails' creator David Heinemeier Hansson as one of its authors?

It is also the only one published so far but, even though the choice was a bit, uhm ... limited, I wasn't disappointed. The book, as is customary with titles from The Pragmatic Programmers' bookshelf, is very good. It lays down in detail almost everything you need to know to be productive with Rails, save for the language Ruby itself. To be honest, the book includes an appendix introducing the basics of Ruby, but it's just the bare minimum. I suggest getting yourself a good Ruby book (like Programming Ruby, also from The Pragmatic Programmers, which I am currently reading and will review shortly) if you really want to get the most out of Rails.

Another caveat you have to be aware of is that Rails is a quickly moving target. The book covers version 0.13, which was current around mid-2005. There was a 0.14 version after that and we are now at 1.0, since a few weeks ago. However, I didn't find I had much to change while experimenting with Rails following the book. As always with Open Source software, resorting to the mailing lists, forums or the #rubyonrails@freenode.net IRC channel is the best avenue for finding answers to your doubts and asking support questions.

The book is organized in four parts:

Part I introduces the design principles behind Rails, its most important concepts and briefly covers how to get started by installing it and writing your first program. The part about installation is the one that is bound to become quickly obsolete, as new and easier installation methods for the various supported platforms are developed.

Part II dives into Rails by guiding you along the development of a real (albeit much simplified) e-commerce application. I find this approach to be very good and "pragmatic" indeed. Of notable interest is the chapter on testing. It's great to see that providing a good test scaffolding was one of the main design concerns in Rails and not just an afterthought.

Part III goes deeper into Rails and can be used as a reference for its components, like Active Record, Action Controller, and Action View. Bonus chapters on AJAX, Web Services, security, deployment and scaling issues are included here and will make the book even more valuable when you need to deal with "real world" applications.

Part IV contains the appendices, like the above mentioned introduction to Ruby, a reference of configuration parameters (be warned again: these might change), the full source code for all samples (of dubious value, in my opinion), and a list of online resources (once again, a list bound to be more and more incomplete as time passes and the excitement around Rails grows).

Overall, I find the quality of this book to be excellent. It's not thick to the point of being too heavy to carry around in your laptop bag, for those times when you need to peek at it, yet it covers enough of Rails to be considered a complete and authoritative reference. This is probably a testament to Rails' simplicity too.

The writing style is eminently readable. You can read it cover to cover, if you like, without getting bored. The frequent sidebars make it lively without being too distracting. A great amount of care and craftsmanship went into producing this book, and it shows.

Highly recommended!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

5.0 out of 5 stars Good and helpful for newbie
This book is very good, but I strongly SUGGEST and cannot hardly STRESS ENOUGH for every newbie with Ruby on Rails -- LEARN RUBY FIRST. Read more
Published 4 months ago by Olexiy Prokhorenko

1.0 out of 5 stars THIS BOOK IS OUT-OF-DATE
This book was written over two years ago for version 1.2. The current version of Rails is 2.2. There are many things in this book that simply won't work. Read more
Published 4 months ago by David O'brien

5.0 out of 5 stars This book to RoR is what Kerningham & Ritchie has been to C (buy the 3rd edition though)
A concise and accurate tutorial and reference to the Ruby on Rails framework.

Starting with the simple (and not very useful in real life.. Read more
Published 6 months ago by abarak

5.0 out of 5 stars Third Editiion in Beta
You can buy this second edition half price ($19.95) from publisher at

http://www.pragprog. Read more
Published 7 months ago by Will

5.0 out of 5 stars This is how technical books should be, a reall page turner
OK, I'm coming to rails late. I've played with Ruby on and off for about a year. I though it was a bit of a "kitchen sink" language until I got a good kick in the head by Neil... Read more
Published 10 months ago by Brett L. Schuchert

5.0 out of 5 stars Great Book - But Wait to Buy
This is THE book for Rails. Top notch...only WAIT to buy it. As others have said, there is a new edition coming out soon that covers Rails 2.0. Of course... Read more
Published 11 months ago by A. DiMauro

5.0 out of 5 stars seriously, this is the best technical textbook I've ever read
Not only is there a great framework to this textbook will introduce you to, but this is written in the perfect balance of interesting style and serious technical content along... Read more
Published 12 months ago by T. Booher

4.0 out of 5 stars Great book, wish it was Rails 2.0
This book is a great intro to Rails, very readable and easy to understand. It also seems fairly comprehensive. The only downside to this book is that it's not Rails 2. Read more
Published 13 months ago by Decker

5.0 out of 5 stars I recommend it
I love the framework, the Agile philosophy and I love how the book is structured: straightforward, practical, easy to follow, programmer-oriented. Read more
Published 14 months ago by Carlos Andres Carrasco

1.0 out of 5 stars Don't buy this book
It does not reflect the current state of Rails at this time. A new version is supposed to come out in October 2008 that covers 2.0. Read more
Published 14 months ago by David Alison

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (6 discussions)
  Discussion Replies Latest Post
When 3rd Edition? 3 January 2009
Rails 2.0 1 July 2008
How popular is Ruby on Rails ? 0 February 2008
How Easy Is Rails For Non-OOP Programmers? 6 March 2007
preorder shipping timeline? 0 December 2006
Welcome to the Agile Web Development with Rails forum 0 November 2005
See all 6 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Don't Slip and Slide

HeatTrak Heated Walkway

Keep your walkways safe and clear of snow and ice using the HeatTrak heated walkway.

Shop all HeatTrak heated walkways

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Bosch Tools are Invented for Life

Shop for tools by Bosch
For users who desire comfort, convenience, and value, Bosch delivers great tools for both the professional and do-it-yourselfers.

Shop for tools by Bosch

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates