- Series: Pragmatic Programmers
- Paperback: 184 pages
- Publisher: Pragmatic Bookshelf; 1 edition (April 11, 2011)
- Language: English
- ISBN-10: 1934356735
- ISBN-13: 978-1934356739
- Product Dimensions: 7.5 x 0.6 x 9 inches
- Shipping Weight: 12.8 ounces (View shipping rates and policies)
- Average Customer Review: 3 customer reviews
- Amazon Best Sellers Rank: #2,372,575 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.
Crafting Rails Applications: Expert Practices for Everyday Rails Development (Pragmatic Programmers) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
About the Author
Jose Valim is the lead developer and co-founder of Plataforma Tec. He started working with Ruby and Rails in late 2006 and was invited to be part of the Rails Core Team in 2010 after his work on Rails 3 development. He's also author and maintainer of various other well-known open source projects that led him to receive a Ruby Hero award in recognition for his contributions to the community. Lately, he's been flying around the globe giving talks and courses about Ruby and Rails.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The book flows pretty well. Each chapter contains a challenge or set of related challenges and it's pretty easy to follow along with the code. Each example contains automated tests, and he creates a gem for almost each solution, so that it is easy to see how to modularize things.
The coverage of Rails internals is really enlightening. Sometimes it can be a bit dry, but you'll learn quite a few things about Renderers, Responders, Engines, Railties, Routing, Rack, Instruments, and more.
The book also contains a wide range of technology topics. José doesn't just utilize Rails & ActiveRecord. Other examples include MongoMapper, Redis, and Sinatra.
Even though each of the examples contains unit tests, they are written in a style that I find to be problematic in real systems. The concise nature of the tests is probably an artifact of being printed, but most of the testing examples utilize few test classes with many assertions per test method.
In addition, though he "writes" the tests before implementation, this actually hurts understandability in some cases. The reason is most of the tests read as if he already knew the implementation and knew exactly how to test it. But it isn't apparent to the reader.
I tend to prefer RSpec with 1 assertion per test method and many fine-grained methods that test various behaviors in each context my system is in. The book's Test::Unit style wasn't something I'd suggest as a good way to test real applications.
The Bottom Line
Ultimately I think the book is excellent, and certainly gives plenty of information about Rails 3 internals. I think newcomers would probably be lost, but if you're past the newbie stage with Rails then this book is recommended.
The problem could just be with the title. Had they called the book "Crafting Rails Applications with EngineX" I may have read it, but I may not have bought it. But either way I would not feel better about the author and the publisher.