Review of ‘Build Your Own Ruby on Rails Web Applications’
Posted by Andrew Faulkner on February 28th, 2007.
Disclosure: This is a paid review. Saying that, all our reviews are honest. It wouldn’t be fair otherwise.
Introduction - What is it?
The book Build Your Own Ruby on Rails Web Applications (Patrick Lenz) aims to take the beginner Ruby on Rails developer on a practical journey through the Ruby on Rails environment and will offer the reader a step-by-step real-world project along the way. Doing exactly as it says on the tin, by the end of the book you will have built your first RoR web app. Hurrah!

The book reads as a guide to creating modern websites/apps in a fun way instead of a tedious manual detailing every command available without any practical advice.
Who needs it?
Put simply, the majority of newcomers to Ruby on Rails would get a great benefit from this book. It not only provides worthwhile content for a seasoned programmer new to RoR, but guides (and focuses on) the less programmatically minded (inlcuding front-end designers) through the development environment in an interactive, hands-on way.
What Do They Say?
From sitepoint:
This book will:
- show you how to install Ruby on Rails on Windows, Mac, or Linux
- walk you, step by step, through the development of a Web 2.0 social news application, just like digg.com
- show you how to test, debug, benchmark, and deploy your Rails application
It’s a bold claim. But given sitepoint’s ultra-usable approach, let’s see if Patrick can pull it off…
The Content
For the purpose of this review, I intend to guide you through the first 4 chapters (of 12) of Build Your Own Ruby on Rails Web Applications.
Chapter 1: Introducing Ruby on Rails
The first chapter discusses the RoR environment. The reader is informed of the pros of the framework, what full-stack is and how all of this fits together to form web applications. A little daunting for some, if it weren’t for the plain English describing the Rails environment.
Of course, the Ruby language is covered and the history of RoR is explained. Handily, this chapter introduces the factors that make RoR different. (Hint: The ethos is to make life easier but still flexible for the developer.)
All of this is really is about setting the scene and motivating the developer. The developer now understands the RoR framework and can get stuck into that first web app.
Chapter 2: Getting Started
The most important chapter in this book for some. I have aimed to complete many projects in various environments but, alas, I fell at the first hurdle. I understood the programming environment to some degree, I just couldn’t actually set it up!
This chapter is a Godsend. The following packages are defined in Layman’s terms and the rationale for installing them is also included:
- the Ruby language interpreter
- the Ruby on Rails framework
- the MySQL database server
An installation walkthrough is then offered for Windows, Linux and Mac users (top marks there). Expecting page after page of install procedures? Sorry to disappoint. There’s only a few pages for each operating system.
Follwing the install procedure, a file structure guide, an application start walkthrough and advice on which text editor to choose is offered.
Thorough. Thoroughly happy.
Chapter 3: Introducing Ruby
Ruby is defined in this chapter, but not dwelled upon. I think that the key here is balance. Too much information about Ruby here could send a potential RoR developer off the rails.
OOP in a general sense is introduced and a basic understanding of its merits are given. This is probably overkill for a more seasoned programmer but I guess the beginner would welcome this. The theory of how OOP works in Ruby is explained in great detail. One could say that reading this alone could give you a good insight into Ruby.
A nice touch in this chapter is the listing of how Ruby outputs code using the interactive ruby shell. This is surely trivial to some but it might just prevent hours of head scratching.
Chapter 4: Rails Revealed
Explaining Ruby without explaining Rails would be silly.
Three Rails environments are defined (development/test/production) giving an insight into actually how to use Rails in a commercial sense. Kudos to Patrick for explaining that three databases are needed (one for each environment) and what data to use.
Luckily for new RoR developers, guidance is given on how to test the Rails environments and also how to debug them. Not that we’d need to. ;)
By now, an understanding of how the Digg-like web app you’ll be building is apparent. Over the next 8 chapters, you’ll have built a Digg of your own.
In Conclusion
I honestly have to say a big thumbs up to the author. The flow of the book is logical and appeals to not only novice RoR developers but novice developers full stop. Including detailed setup guides was a stroke of genius and will aid many a confused RoR newcomer, I’m sure.
My only concern would be the length of the book. Some may be put off. But that’s also the books forté. It provides thorough background information throughout but still keeps to the clean reader-friendly approach of sitepoint books of late.
Book Info
Build Your Own Ruby on Rails Web Applications
- Written by Patrick Lenz, published by sitepoint.
- Order from sitepoint.
- Features:
- Download code: No typing from the book!
- 30 day money back guarentee
- ISBN: 978-0-9758419-5-2
Make A Comment
( 3 so far )
3 Responses to Review of ‘Build Your Own Ruby on Rails Web Applications’
I agree. This was the first in depth but really understandable intro to RoR that I’ve read. Made me eager to potentially drop PHP in favor of RoR.
My only concern would be the length of the book.
I do agree to some extent, however I wouldn’t recommend this book. Because even though it is a great resource for people that are new to Rails it doesn’t bring anything new to the table. What I mean is that every individual that has set their mind to learning Rails will first of all buy the popular book "Agile Web Development with Rails". After only one hour of reading in the that book you will start to create your own Rails application - a store. That part of the book does not only beat the application you build in "Build Your Own Ruby on Rails Web Applications", but it will furthermore give the reader better insight on what is going on in the background. But the greatest benefit of them all is that "Agile Web Development with Rails" does not only teach you how to program a store, but it allows you to change the application according to your needs by simply checking out the rest of the book and all the descriptions for different methods and functionality. So I would recommend "Build Your Own Ruby on Rails Web Application" if you haven’t yet read the first part of "Agile Web Development with Rails", where you create the store, yet. It doesn’t teach you anything new. The only difference is that either the content could be added to your cart or to your voting-list. However, the simplicity of "Build Your[…]" is as mentioned great for novice programmers and people that does not have previous experience with serverside programming. So my advice is to only go with "Agile Web […]" or to start with "Build Your[…]" and then "Agile Web[…]".
Related In Some Way, Shape Or Form
The above post has obviously kept you amused. Why not discover similar material:
The posts Radiant CMS: worth a look at!, Agile RSS Aggregator in Ruby - igvita.com, The Best Design Resources you can Clear in One Sitting, Get Reviewed at fadtastic, When Distinctions ain’t so Distinct, are related to this post.
Or why not take time out to find out about the author of the post.



