Buy Used
CDN$ 0.75
+ CDN$ 6.49 shipping
Used: Very Good | Details
Condition: Used: Very Good
Comment: Shipped from the US -- Expect delivery in 1-2 weeks. Former Library book. Great condition for a used book! Minimal wear. 100% Money Back Guarantee. Shipped to over one million happy customers. Your purchase benefits world literacy!
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

The Art of Rails Paperback – May 5 2008

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 18.58 CDN$ 0.75

Harry Potter and the Cursed Child
click to open popover

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Product Details

  • Paperback: 309 pages
  • Publisher: Wrox; 1 edition (May 5 2008)
  • Language: English
  • ISBN-10: 0470189487
  • ISBN-13: 978-0470189481
  • Product Dimensions: 18.5 x 1.8 x 23.4 cm
  • Shipping Weight: 499 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #2,149,522 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From the Back Cover

The Art of Rails®

Any programmer knows that an API is only half the story, and with Ruby on Rails® this is especially true. Good Rails development, like good web development, is much more about the design choices you make than the framework you have at your disposal. Written by an experienced web application developer, this book picks up where the API leaves off and explains how to take good Rails code and turn it into beautiful Rails code: simple, effective, reusable, evolvable code.

In a blend of design and programming, this book identifies and describes the very latest in design patterns, programming abstractions, and development methodologies that have emerged for the modern web. Ruby on Rails offers a completely new way of thinking about and using these emerging techniques, and learning to think like a Rails developer will enable you to rapidly design and write high-quality code with elegance and maintainability. With each design technique, you will discover how Rails incorporates it into its domain-specific language, and you will learn how to weave it seamlessly into your own Rails applications. Then you will learn how to take the next step and transform yourself from user into creator, making your own additions to Rails and crafting a development environment tailored to your specific needs.

What you will learn from this book

  • Techniques for organizing your code between and within Model, View, and Controller to eliminate code repetition and maximize your effectiveness

  • How to think like a REST-based developer and use Rails 2.0 to translate these thoughts into your code

  • Advanced Ruby and meta-programming: how to use features such as block-based development, monkey patching, and dynamic APIs to build your own additions to the Rails framework

  • Design patterns for AJAX, web APIs, HTML decomposition, schema development, meta-programming, and more

  • Behavior-driven development: A new style of testing and development centered around stories and behaviors instead of method calls and assertions

  • Ways to make your development both productive and fun in the software you write

Who this book is for

This book is for developers familiar with Ruby on Rails who are looking to advance their skills by learning the design and coding techniques that enable a mastery of web application development with Rails.

Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) HASH(0xa2763f84) out of 5 stars 7 reviews
4 of 4 people found the following review helpful
HASH(0xa232ab1c) out of 5 stars Solid Rails Book May 23 2008
By Larry - Published on
Format: Paperback
I really enjoyed this book. (Of course, I enjoy most tech books because you can always pick up new information or a different/better slant on something you thought you already knew.)
It is obvious Edward knows his stuff, and he has a knack for describing and explaining difficult concepts.
I especially liked his coverage of AJAX, Methods and Messages, Procs and Blocks, and Mixins.
Good book, Edward. Thanks for writing it!
3 of 3 people found the following review helpful
HASH(0xa2321e64) out of 5 stars Excellent Birds Eye View Book March 30 2009
By Charles B. Forcey - Published on
Format: Kindle Edition
I own most of the Ruby and RR books and was nervous to buy another. I am pleased I did after reading this book cover to cover in the Kindle edition. Since Rails and Ruby are so flexible, intermediate programmers like myself spent a lot of time researching and wondering what methods are the most appropriate for inserting javascript, testing complex stories, or implementing RESTful architectures. The author picks up each of these questions in detail, mixing well written surveys of relevant approaches with well reasoned arguments for why rails and the community are moving in one direction and not another. Bravo! I am a much better Rails developer as a result of this book. The Kindle edition has some minor formatting glitches (they need to get their fixed font code formatting settled down especially) but was eminently readable.
2 of 2 people found the following review helpful
HASH(0xa1e1a30c) out of 5 stars Got to give it 5 stars... June 23 2009
By Gunterman - Published on
Format: Paperback Verified Purchase
This is not a 'cookbook'.
It does not cover installation of Rails on Windows - or Linux.
It is not a reference.
It does not cover any of the IDE's available for Ruby and Rails.

So what does it do?

When I first got the book, I thumbed through it - and wondered - Where is the code!?.

It has some code samples, but what I saw is not something that will 'build' a sample app - nope. At first I was bummed.

Then I started reading the book.

It became obvious very quickly the guy knew exactly what he was talking about - not just Rails - but the big picture of software development and how Rails utilizes (hence you utilize) application modeling, design specs, MVC, REST and Ajax, testing - among other topics.

But none of that is Rails you say?

Well, yeah, you are right.

But it's all the stuff around Rails and Rails is built to handle.

Bottom Line? He puts you into the 'mindset' to solve problems with Rails.

The actual details, he leaves to other books. But with this book, you'll have a grasp on how to go about handling problems with Rails.

And that was worth the entry price - and the time to read and comprehend.

If you want to just 'jump in and code' - then maybe this book isn't for you. If you want to 'get your head around' Rails - the philosophy - then start coding - then spend the time and read this book.

Glad I got it. No, you cannot have my copy - it's too marked up anyway.

3 of 4 people found the following review helpful
HASH(0xa1dfb6a8) out of 5 stars The Next Step for Rails Developers March 8 2009
By Arsalan Tavakoli - Published on
Format: Paperback
The Art of Rails is a phenomenal follow-on book for anyone who has completed a beginner Ruby on Rails book and is looking for moving on to the next step. Beginner RoR books (such as Agile Web Development with Rails and online tutorials, such as Rolling with Rails) focus on the mechanisms, getting the basic feel for the capabilities of RoR to quickly build web applications.

The Art of Rails is the next step, focusing on the policy and the how. Once the basic mechanisms are taught, the natural next step is the how -- how these mechanisms can be used to best achieve the initial goals laid out by each developer. This book dives into design paradigms such as M-V-C and REST in a thorough, yet pleasantly intuitive manner that guides the developer in methods of using good design and programming principles to build more flexible and efficient web applications.

For any developer that has learned the basics of Ruby on Rails and is looking for the next step, looking to really leverage the power of Rails to build web applications, this is certainly the book that helped me complete that progression.
3 of 4 people found the following review helpful
HASH(0xa22ed2ac) out of 5 stars I wish I had read this 2 years ago Aug. 5 2008
By Justin Meyer - Published on
Format: Paperback
The Art of Rails not only a great Rails book, but it is a great web development book. It's first chapter should be read by every web developer. It clearly explains how the web started, the choices that were made, and where it is today.

These types of broad insights are what you'd expect from a top CS curriculum. The kind of insights that explain why you are doing what you doing, instead of just how.

I just wish I read this book when I first started programming for the web.