Rails Cookbook
| |||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||
| Sort customer reviews by: | |||||||||||||||||||||||||||||
|
Show All Reviews on Page
Hide All Reviews on Page
| |||||||||||||||||||||||||||||
| Rails Cookbook | |||||||||||||||||||||||||||||
|
Rails Cookbook is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services.
With applications that are code light, feature-full and built to scale quickly, Rails has revolutionized web development. The Rails Cookbook addresses scores of real-world challenges; each one includes a tested solution, plus a discussion of how and why it works, so that you can adapt the techniques to similar situations. Topics include:
Whether you're new to Rails or an experienced developer, you'll discover ways to test, debug and secure your applications, incorporate Ajax, use caching to improve performance, and put your application into production. Want to get ahead of the Web 2.0 curve? This valuable cookbook will save you hundreds of hours when developing applications with Rails. |
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 16 of 16 | |||||||||||||||||||||||||||||
| Review Date |
Review Rating(5 High) |
Review Helpful to: |
Customer Review | Reviewer Info |
Permanent Link |
||||||||||||||||||||||||
| Reader Reviews Below Sorted by Newest First | |||||||||||||||||||||||||||||
| 02-24-08 | 5 | 1\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I used this book for a grad class project that had to do with building multimedia database system with Ruby on Rails framework. This is the first of the "cookbook" series I ever purchased, so I was a bit skeptical in the beginning. I am very pleased with this book. It has detailed solutions for several of the common problems. I had successfully built a nice multimedia database driven application in a single weekend with this book. Code examples are well presented and it's easy to incorporate it into your application. This is not a beginner's book. If you know nothing about Ruby or Rails, you should get a beginner's book first - I used "Build Your Own Ruby On Rails" by Patrick Lenz [note that this book is available for free download on the web - search for it on Google]. I am very highly pleased with this purchase and I will recommend it highly especially to those who want to get up and running quickly.
(Review Data Last Updated: 2008-11-30 06:05:38 EST)
|
|||||||||||||||||||||||||||||
| 08-27-07 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The "Rails Cookbook" is a very useful book for the working programmer.
Programming is all about solving problems, and that is exactly what this book is about. Each "Recipe" contains the problem, the solution and a discussion about the solution. They are concise without being too vague to be useful. The book contains almost 200 of these problems / solutions. This probably wouldn't be a good introduction to the language or the framework, but if you already are familiar with both - this book is a very valuable tool to help you get your work done. (Review Data Last Updated: 2008-02-24 15:55:19 EST)
|
|||||||||||||||||||||||||||||
| 06-20-07 | 5 | 2\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Now that I've encountered a few recipies books, I have to admit I'm in love with the format. I proves very practical and much easier to use.
(Review Data Last Updated: 2007-08-27 19:07:01 EST)
|
|||||||||||||||||||||||||||||
| 06-08-07 | 4 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Probably my most worn RoR book. It doesn't teach you Ruby or Rails since it's really a how-to book. I learned Ruby and Rails from other books but once I set out to build an app, I often thought to myself "now I remember reading about this somewhere, I just can't remember the syntax." Instead of digging through my other books, I thumbed through the TOC and quickly found a refresher. Well worth your money and saves you a lot of time spent on google or searching for solutions in other books.
(Review Data Last Updated: 2007-07-06 15:12:01 EST)
|
|||||||||||||||||||||||||||||
| 05-08-07 | 5 | 1\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Web programmers and practicing developers working with Rails will want this solution-oriented guide to building web 2.0 applications - a guide packed with recipes for success from the basics of installing and using Rails to the latest applications. Learn how to work with an application's logic, how to test and debit a Rails application, and use Rails plug-ins with RAILS COOKBOOK: APPLICATIONS FOR RAPID WEB DEVELOPMENT WITH RUBY, which covers version 1.2 and will reach both programmers and serious programming libraries.
(Review Data Last Updated: 2007-07-06 15:12:01 EST)
|
|||||||||||||||||||||||||||||
| 04-05-07 | 4 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
When reading the foreword of Rails Cookbook I felt a strong kinship with Zed Shaw, I too have fond memories of the first edition of Perl Cookbook and the way I relied on it once I'd taken the training wheels off. Since that one I have relied on several of the O'Reilly Cookbook series. It is only when I discard the early tutorial and dive in the deep end with a "cookbook" on my desk that I really start to learn proficiency.
I felt timorous and unsure when I finished "Agile Web Development with Rails", a marvelous tutorial that introduced me to my first real web development framework (I must have enjoyed it, I just bought the second edition). Since I have volunteered to develop a fairly large and complex web application in Rails I awaited the arrival of my copy of Rails Cookbook with hopeful anticipation and bated breath. Rob Orsini, his fellow contributors (15 in all) and the team at O'Reilly have once again delivered. Compared to the previous titles in the series I've owned "Rails Cookbook" seems to have fewer recipes but as it is tackling an entire application framework and some serious issues, some of the solutions and discussions run a lot longer. The book is targeted at programmers who know something about web development but are early in their use of Rails, though it should be helpful to all Rails developers. The book starts with tackling issues of installation and getting development tools installed in the first two chapters. Despite already deploying a couple of simple Rails apps I found that there was the odd useful tip in these chapters. The book then covers each of the three main sections of Rails; Active Record, Action View and Action Controller. The rest of the book goes on with large chapters on testing, Javascript, debugging, performance and hosting and deployment. Along the way it also covers REST, Action Mailer, security, plug-ins and graphics. The extremely large section on Active Record was to me the most useful. I seem to spend an inordinate percentage of my Rails coding time with Active Record and it contains a large part of Rails power so I appreciated the size of this chapter. By contrast the chapter on graphics is almost entirely unread. It seems obvious that this book should be compared to Pragmatic's "Rails Recipes". The first point of difference is that Rails Cookbook covers installation and setup. The second point is that is 'Recipes' covers Rails 1.1 while 'Cookbook' targets the brand new Rails 1.2. As a project fairly new on the scene Rails is a fast moving target so the six months between the two books makes a difference. Both books have excellent coverage of the various aspects of Rails, with a great deal of overlap. 'Recipes' has more, shorter pieces while 'Cookbook' tends towards longer pieces with more discussion. 'Cookbook' is also more general, with more recipes more likely to be useful in every Rails project you write. The style is different between the two. Here Cookbook comes off second best, it feels as though tightly edited by a number of hands and ends up lacking personality; functional but cold compared to Recipes. The writing, however, is good. It's easily read, at times it feels like a good textbook. The layout is clean, it is easy to find the information you need from each recipe when you want. With almost all "cookbook" style books I seem to be left feeling that a number of the recipes are just a little too obvious and covered well in beginner tutorials. There is some of this in Rails Cookbook, most notably the first two chapters, but overall the book will be useful to any beginner to intermediate Rails programmer. Personally I had a couple of moments where I read a tip and wanted to scream as it demonstrated and explained in a few short sentences and half a page of code what had taken me hours to discover for myself. The "Cookbook" series all seem to be books worth the price and shelf space. This one is no exception. I'd give it three out of five with an extra half for its timely information on Rails 1.2 and would recommend it for all Rails programmers from the absolute beginner through to all but the most experienced. If you already have a copy of 'Recipes' and are happy with it then you might want to stick with that till either volume is updated for the next major revision of Rails, otherwise you will almost certainly appreciate a copy of Rails Cookbook. (Review Data Last Updated: 2007-07-06 15:12:01 EST)
|
|||||||||||||||||||||||||||||
| 03-26-07 | 4 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book is really quite good for the "advanced beginner" to intermediate level of Rails developer. There is a lot of information out there on how to do things in Rails that most people won't know without a lot of research. This book helps a lot by putting lots of those tidbits together into one central location.
One of the things that makes it really difficult to learn Rails is how much the "state of the art" is changing in a matter of weeks or months. People are coming up with smarter and better ways of doing things all the time, and a lot of that isn't documented outside of the blog postings. Pretty wide range of subjects too, going from very basic issues in development all the way out to medium-scale deployment considerations. Now understandably this doesn't cover everything I would want. For example, Rails is really pushing towards a REST-based approach and while there is some of that here, it could use some beefing up. But overall, there is a lot of good material here, I learned some things definitely, and I think it is going to save people a lot of time to read recipes instead of finding the same material in bits and pieces all over the Web. That's a really good thing. (Review Data Last Updated: 2007-06-27 16:46:52 EST)
|
|||||||||||||||||||||||||||||
| 03-25-07 | 4 | 1\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book is really quite good for the "advanced beginner" to intermediate level of Rails developer. There is a lot of information out there on how to do things in Rails that most people won't know without a lot of research. This book helps a lot by putting lots of those tidbits together into one central location.
One of the things that makes it really difficult to learn Rails is how much the "state of the art" is changing in a matter of weeks or months. People are coming up with smarter and better ways of doing things all the time, and a lot of that isn't documented outside of the blog postings. Pretty wide range of subjects too, going from very basic issues in development all the way out to medium-scale deployment considerations. Now understandably this doesn't cover everything I would want. For example, Rails is really pushing towards a REST-based approach and while there is some of that here, it could use some beefing up. But overall, there is a lot of good material here, I learned some things definitely, and I think it is going to save people a lot of time to read recipes instead of finding the same material in bits and pieces all over the Web. That's a really good thing. (Review Data Last Updated: 2007-04-07 08:58:43 EST)
|
|||||||||||||||||||||||||||||
| 03-12-07 | 5 | 5\6 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I think it's safe to assume the following:
1) Ruby on Rails is hot. 2) Many of us are coming over from other languages (C++, C#, Java) and frameworks (.NET, JEE). 3) You need to start by getting the Ruby pickaxe book ("Programming Ruby") and "Agile Web Development with Rails," both by Dave Thomas. Once you've gone through those two books it is time to face the steep and mysterious RoR learning curve. (Someone else made that statement. I can't remember where I read it, but I like it because it's true.) That's where this book (and its companion "Ruby Cookbook") come in. They contain a ton of succinct, well-written examples. Even if your exact task isn't covered, you can usually find something that's close enough to get you started. And you can usually learn something new by browsing any given example. Let's face it, programming has become so complex that not owning a book like this is not an option. (Review Data Last Updated: 2007-07-06 15:12:01 EST)
|
|||||||||||||||||||||||||||||
| 03-11-07 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I think it's safe to assume the following:
1) Ruby on Rails is hot. 2) Many of us are coming over from other languages (C++, C#, Java) and frameworks (.NET, JEE). 3) You need to start by getting the Ruby pickaxe book ("Programming Ruby") and "Agile Web Development with Rails," both by Dave Thomas. Once you've gone through those two books it is time to face the steep and mysterious RoR learning curve. (Someone else made that statement. I can't remember where I read it, but I like it because it's true.) That's where this book (and its companion "Ruby Cookbook") come in. They contain a ton of succinct, well-written examples. Even if your exact task isn't covered, you can usually find something that's close enough to get you started. And you can usually learn something new by browsing any given example. Let's face it, programming has become so complex that not owning a book like this is not an option. (Review Data Last Updated: 2007-03-26 09:10:24 EST)
|
|||||||||||||||||||||||||||||
| 02-23-07 | 4 | 1\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I've read Agile Development with Rails and Rails Recipes, but this book was still helpful for me. ADWR is more of a "This is how it works" while this book, like Rails Recipes, is a "Here's how to do the things you want to do" kind of book. I liked that the sections are presented in a problem/solution format; if you don't want to solve that problem, keep flipping. The recipes covered a range of beginner to more advanced topics: from installing rails to RESTful development, to invaluable information on different ways to deploy your rails application. The writing is straightforward, and I found it much easier to read and understand than Rails Recipes (IMHO). I have a feeling I'll be going back to reference this book frequently.
(Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| 02-16-07 | 4 | 0\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
If you like Cookbooks like I do I highly recommend you get this book. It's not a huge book but it does a pretty good job with what it does cover. I gave it 4 stars because I wish it had more recipies especially with ActionView. Also, I found some deprecated code in the Application Testing chapter. Good Documention and sample code is Rails biggest weakness right now.
Neil (Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| 02-14-07 | 5 | 0\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is one of the best book about Rails. It is very well written and is easy for a beginner to accomplish the goal of each recipe.
There is no fluff in this book, it is to the point and explains everything very clearly. Unlike other heavy weight Rails books, you don't have to read it multiple times to understand the concept. It is very practical so you can learn faster. (Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| 02-08-07 | 5 | 5\5 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This really is not intended to be a tutorial on Rails, but as with all of the O'Reilly cookbooks, it is a collection of solutions to common problems involving Rails. However the recipes in the early chapters are so basic, it in fact, serves two purposes. The early chapters gets the Rails novice up and running, and the later chapters serve up answers to many of the problems that Rails developers of all skill levels have. Therefore, the reader should already be experienced at web development, and be a Rails user of any level of experience including novice.
Other frameworks are often designed such that if you can make the leap of understanding their complexities, you can solve many problems. The core developers of the Rails framework differed in their approach and designed a framework that solves simple problems easily and very well. From that juncture, you can easily work up to more difficult problems. The following is the table of contents: Chapter 1. Getting Started - Deals with the basics such as joining the Rails community, finding documentation, and installation. Chapter 2. Rails Development - Recipes on setting up your environment, starting your first Rails applications, and generating Ruby documentation for your application. Chapter 3. Active Record - 22 recipes on "Active Record", which is a persistent storage mechanism for interacting with a relational database. Chapter 4. Action Controller - 16 recipes on "Action Controller", which receives requests and passes them on to a specific action. Chapter 5. Action View - 16 recipes on dealing with the presentation details of your Rails application. Chapter 6. RESTful Development - An odd little chapter of only 6 recipes about breaking down HTTP requests to a natural, human-language type structure where there are verbs and nouns. This chapter has an academic feel to it. Chapter 7. Rails Application Testing - 24 recipes on the subject of testing from the perspective of test driven development. Covers Rake, Rcov, YAML fixtures, and CSV fixtures. Chapter 8. JavaScript and Ajax - 13 recipes on using Javascript and Ajax from within the Rails framework. Shows you how to deal with JavaScript using Ruby code, among other things. Chapter 9. Action Mailer - 6 recipes that show show the three different ways to retrieve email and forward it to the receive method of your mailer class. Chapter 10. Debugging Rails Applications - 12 recipes that include Rails' robust automated testing features and a number of tools that expose bugs in the inner workings of your program. Specifically Firefox extensions, the Javascript shell, and ruby-debug are mentioned, among others. Chapter 11. Security - A short but important chapter of only 5 recipes that include security best practices, SQL injection, and cross-site scripting (XSS). Chapter 12. Performance - 8 recipes dealing with web application performance. Covered topics include measuring, benchmarking, and improving performance as well as dealing with cached content. Chapter 13. Hosting and Deployment - 14 recipes on the deployment of your Rails application. This section contains quite a bit of information on Capistrano, the tool of choice for the automated rollout of Rails applications. Chapter 14. Extending Rails with Plug-ins - How to find and install plug-ins for tasks Rails was not designed to handle. Talks about some specific plug-ins such as acts_as_versioned, acts_as_authenticated, and acts_as_taggable, including what problems each plug-in solves. Chapter 15. Graphics - 7 recipes for dealing with tools for handling visual output. Topics include RMagick, which is an equivalent of image processing tool ImageMagick. Also described is how to generate PDF documents, Gruff, and accessing images via databases. (Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| 01-20-07 | 5 | 3\6 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I read a pre-release version of this book and was very impressed with the quality and breadth of the content. Rob Orsini and the various other contributors appear to really know their stuff and have a solid grasp of the technology involved. For someone fairly new to Rails or someone who needs a reference for the occasional hint on how to proceed in an unfamiliar area, this book will provide them what they need.
In the interest of full disclosure: I was a tech reviewer for this book, but did not receive any monetary compensation (I may be receiving a copy of the book, but that's it) for it and receive nothing for posting this review. (Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| 01-19-07 | 5 | 4\6 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is the single most useful Rails reference currently available. It goes far beyond the basics to cover real-world applications, demonstrating both good, practical Rails code, and, where useful, solid general information on web development.
If you're like me, after you've gone through the initial rush of the Rails screencasts and the well-written 'Agile Web Development with Rails,' you'll start a project of your own from scratch. There will then come the sheer and mysterious face of the learning cure. For that spot, 'Rails Cookbook' is the book to have. (Review Data Last Updated: 2007-03-15 03:11:40 EST)
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 16 of 16 | |||||||||||||||||||||||||||||
| All Books | Arts | Biography | Click Here For An A-Z Index Of All 213 Best-Seller Subjects | Business | Children's | Comics | ||||||
| Computers | Cooking | Engineering | Entertainment | Health | History | Home | Horror | Humor | Law | Fiction | Medicine | Mystery |
| Nonfiction | Outdoors | Parenting | Professional | Reference | Religion | Romance | Science | Sci-Fi | Sports | Teens | Travel | |