- Paperback: 309 pages
- Publisher: Wrox; 1 edition (May 5, 2008)
- Language: English
- ISBN-10: 0470189487
- ISBN-13: 978-0470189481
- Product Dimensions: 7.3 x 0.7 x 9.2 inches
- Shipping Weight: 1.1 pounds (View shipping rates and policies)
- Average Customer Review: 7 customer reviews
- Amazon Best Sellers Rank: #3,732,537 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
The Art of Rails 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
"Enlightenment Now: The Case for Reason, Science, Humanism, and Progress"
Is the world really falling apart? Is the ideal of progress obsolete? Cognitive scientist and public intellectual Steven Pinker urges us to step back from the gory headlines and prophecies of doom, and instead, follow the data: In seventy-five jaw-dropping graphs, Pinker shows that life, health, prosperity, safety, peace, knowledge, and happiness are on the rise. Learn more
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.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
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.
The first chapter is particularly valuable to less experienced or younger readers that never felt the pain of old Web development paradigms. I haven't found a nice concise explanation of the history of Web development in any other book.
Chapters 2 - 6 will be of limited value to anyone who has built a RESTful Rails application.
Chapter 7, on Ajax, does a nice job of describing five general architectural patterns using AJAX.
Chapters 8 - 10 provides examples of Ruyisms like blocks, procs, mixins and metaprogramming. It doesn't go super-deep, but places the topics before you in a simple manner.
The author makes an attempt to season the writing with a side story, inspired by the likes of _why. Instead of being entertaining, it just ends up being rather weird. But, it's easy to ignore.
Good Rails book. I'd read this in between the Prag Prog book and Obie's Rails Way.
In all fairness, the book is very well written. I am disappointed with the book because I was hoping to learn more about rails and not necessarily design and the book definitely does not deliver any sort of useful in depth rails coverage.
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!
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.