Build Your Own Ruby on Rails Web Applications

Build Your Own Ruby on Rails Web Applications
by Patrick Lenz

Build Your Own Ruby on Rails Web Applications
List Price: $39.95
Our Price: $12.03
You Save: $27.92 (70%)
Availability: Usually ships in 1-2 business days
Buy Used: from $0.01 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Patrick Lenz
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2007-02-06
ISBN: 0975841955
Number of pages: 447
Publisher: SitePoint

Book Reviews of Build Your Own Ruby on Rails Web Applications

Book Review: The best of the current crop of Ruby and Rails introductory texts
Summary: 5 Stars

All I can say is WOW!!! I am a Ruby and Rails Newbie and I have been searching for an introductory text to both Ruby and Rails for several weeks. For context, I have moderate programming language (but minimal web development) experience. I purchased the following texts (in order): Agile Web Development With Rails, Rails Solutions, Ruby For Rails, and Build Your Own Ruby on Rails Web Applications. Each has it's strengths, and I am sure that I will be able to draw something of significance from each; however, after working through much of Build Your Own Ruby on Rails Web Applications, this is clearly the introductory text I have been searching for.

The book provides a well balanced presentation and sequencing of Ruby and Rails basics followed by practical application within "Shovell" - your very own Digg clone sample application. Some key topics covered in the book:

* Installation -- Complete instructions are provided for installing and configuring Ruby, Rails, and MySQL on Windows XP, Linux and Mac OS X.

* Ruby basics -- this topic is presented as a minimal introduction with additional information provided as the text progresses. In fact, the entire text progresses in easily digestible, but meaningful increments which goes a long way to avoid information overload. Additionally, the Interactive Ruby shell (irb) is introduced and used to allow hands-on experimentation with the language features that are being explained. I found this very helpful in learning the basics as it allowed me to play around with the language features and answer my own questions through experimentation.

* MVC architecture -- the book does good job of introducing and explaining the Model-View-Controller architecture and it's implementation within Rails without getting bogged down in extraneous theory or details. This is probably too light for experienced developers, but in my opinion, just right for the newbie.

* Rails 1.2 basic features and conventions -- this is a big deal as newbies are likely to be stymied by warnings and errors associated with superceded pre-1.2 features. I know this all too well as (with other books -notably Rails Solutions) I have pulled my hair out trying figure out why I didn't get the same results that were printed in the book. Thankfully, Build Your Own Ruby on Rails Web Applications spares the newbie from this added complication. Like the presentation of Ruby basics, the Rails introduction includes the use of the Rails console which is a great way to learn the basics by "geting your hands dirty" with Rails.

* Generators and Migrations -- after working through the manual creation of a few database, model and view examples (using direct SQL, and the Rails console) the book introduces the use of some key productivity tools provided by Rails -namely generators and migrations. This sequence helped me to better appreciate both the benefits (and some limitations) of these Rails features.

* AJAX -- Like the Ruby and Rails topics, AJAX is covered in a very accessible manner -- explaining what it is, how it works, and how to use it to do meaningful things in Rails (all without overloading the newbie with complex theory, jargon or head-spinning detail). I know I will need to get a text on AJAX at some point -- not to understand it or to figure out ow to use it, but to figure out how to get *more* out of it -- however, for now I am good with AJAX for what I want to do with Rails.

* Testing -- Like the other topics, the book introduces Rails unit, functional and integration test features without diverging into a heavy text on testing. The author makes it clear that he is not trying to demonstrate Test Driven Design, but instead is trying to (1) emphasize the importance of testing, and (2) present an accessible approach to testing for the beginner. For me, he has succeeded -- the subject was presented in a manner that made it seem like a natural extension of programming with Rails and not another obstacle to my learning process. Net-net: I'm convinced that the incremental testing approach using Rails automated test features is so easy that it's a no brainer.

* Dynamic web site development -- while the book does not claim to teach this explicitly, that is exactly what you are doing when developing web applications with rails. All the elements are there: HTML, CSS, XML, databases, and server and client code. I previously tried to learn dynamic web site development using PHP, HTML, MySQL and CSS, but frankly got bogged down in PHP syntax while also trying get my head around learning all those different elements (HTML, MySQL and CSS) simultaneously. I am not experiencing that problem using this book. It's probably a combination of the excellent text, as well as Ruby/Rails -- Rails Helpers minimize HTML and MySQL learning curve, and embedded Ruby is a lot easier to get my head around than PHP.

There is certainly more to the book, but these are the essentials as I see it.

To top it off, all of this material is delivered in entertaining and consistently accessible prose. To be balanced (but in no way qualifying my enthusiastic endorsement) the text is not perfect --there are a handful of code and text errors -- so check the book's sitepoint page for errata.

My game plan is now set: (A) work through the basics with Build Your Own Ruby on Rails Web Applications, (B) follow with Agile Web Development With Rails to learn how to leverage Rails productivity features, and (C) utilize the other texts as supplemental references. Thanks to Patrick Lenz and Sitepoint this Newbie is now on his way to Ruby and Rails proficiency!

UPDATE TO INITIAL REVIEW:

Several months after submitting this review my perspective has not changed -- even after reading several newer Ruby and Rails books. However, I would supplement the reading list and offer the following as my choice for the definitive Ruby on Rails canon (for learning and becoming productive with Rails):

1. Best Rails beginner book: Build Your Own Ruby on Rails Web Applications, by Patrick Lenz
2. Best Rails intermediate book: Agile Web Development With Rails, by Dave Thomas and David Heinemeier Hansson
3. Best Rails reference book: Practical Rails Projects, by Eldon Alameda
4. Best Ruby learning and reference book: The Ruby Way, by Hal Fulton

I am now on my third Rails application and find myself consistently referring to #2 for Rails best practices, #3 for RESTful design/development guidance & practical solutions to common programming challenges, and #4 for hardcore Ruby guidance.

Summary of Build Your Own Ruby on Rails Web Applications

Want to learn all about Ruby on Rails, the web application framework that is inspiring developers around the world?

This practical hands-on guide for first-time Ruby on Rails programmers will walk you through installing the required software on a Windows, Mac or Linux computer. And before you get coding, an entire chapter is devoted to object oriented programming in Ruby, so you'll be completely confident with the Ruby language before you begin working with Rails.

The example application that the book builds - a user-generated news web site - is built upon with each following chapter, and concepts such as sessions, cookies and basic AJAX usage are gradually introduced. Different aspects of Rails, such as ActiveRecord, migrations and automated testing are explored with each feature that is added to the application.

The book finishes with chapters on debugging, benchmarking and deployment to a live web server.

By the end of the book, you'll have built a fully-featured Web 2.0 application and deployed it to the Web. And all code is up-to-date for Rails 1.2, so you can begin coding immediately with the latest version of Rails.

Languages & Tools Books

Book Subjects
Most talked about in Languages & Tools Books
Eclipse Plug-ins (3rd Edition) ImageEclipse Plug-ins (3rd Edition)
by Eric Clayberg, Dan Rubel
Addison-Wesley Professional; Published: 2008-12-21; Paperback; Book
Best price: $38.33
Price in other shops: $59.99
Java Software Solutions: Foundations of Program Design (6th Edition) ImageJava Software Solutions: Foundations of Program Design (6th Edition)
by John Lewis, William Loftus
Addison Wesley; Published: 2008-03-07; Paperback; Book
Best price: $74.40
Price in other shops: $128.00
C++ Primer (3rd Edition) ImageC++ Primer (3rd Edition)
by Stanley B. Lippman, Josée Lajoie
Addison-Wesley Professional; Published: 1998-04-02; Paperback; Book
Best price: $14.47
Price in other shops: $49.99
Accelerated C++: Practical Programming by Example ImageAccelerated C++: Practical Programming by Example
by Andrew Koenig, Barbara E. Moo
Addison-Wesley Professional; Published: 2000-08-24; Paperback; Book
Best price: $26.99
Price in other shops: $49.99
Patterns of Software: Tales from the Software Community ImagePatterns of Software: Tales from the Software Community
by Richard P. Gabriel
Oxford University Press, USA; Published: 1998-05-28; Paperback; Book
Best price: $64.55
Just Java? 2 (6th Edition) ImageJust Java? 2 (6th Edition)
by Peter van der Linden
Prentice Hall; Published: 2004-07-01; Paperback; Book
Best price: $35.00
Price in other shops: $64.99
UML for Java? Programmers ImageUML for Java? Programmers
by Robert C. Martin
Prentice Hall; Published: 2003-06-06; Paperback; Book
Best price: $22.99
Price in other shops: $44.99
Thinking in Java (3rd Edition) (One-Off) ImageThinking in Java (3rd Edition) (One-Off)
by Bruce Eckel
Prentice Hall PTR; Published: 2002-12-06; Paperback; Book
Best price: $13.80
Price in other shops: $54.99
SQL Fundamentals with CDROM ImageSQL Fundamentals with CDROM
by John J. Patrick
Prentice Hall; Published: 1999-05-11; Paperback; Book
Best price: $12.00
Price in other shops: $44.99
C How to Program, 2nd Edition ImageC How to Program, 2nd Edition
by Paul J. Deitel
Prentice Hall; Published: 1994-01-13; Textbook Binding; Book
Best price: $25.84
Price in other shops: $70.00
Similar Books and other products
Agile Web Development with Rails (Pragmatic Programmers) ImageAgile Web Development with Rails (Pragmatic Programmers)
by Sam Ruby, Dave Thomas, David Heinemeier Hansson
Pragmatic Bookshelf; Published: 2011-03-31; Paperback; Book
Best price: $24.46
Price in other shops: $43.95
Programming Ruby: The Pragmatic Programmers' Guide, Second Edition ImageProgramming Ruby: The Pragmatic Programmers' Guide, Second Edition
by Dave Thomas, Chad Fowler, Andy Hunt
Pragmatic Bookshelf; Published: 2004-10-08; Paperback; Book
Best price: $8.97
Price in other shops: $44.95
Rails Recipes (Pragmatic Programmers) ImageRails Recipes (Pragmatic Programmers)
by Chad Fowler
Pragmatic Bookshelf; Published: 2006-06-16; Paperback; Book
Best price: $4.00
Price in other shops: $32.95
Beginning Ruby on Rails E-Commerce: From Novice to Professional ImageBeginning Ruby on Rails E-Commerce: From Novice to Professional
by Jarkko Laine, Christian Hellsten
Apress; Published: 2006-11-09; Paperback; Book
Best price: $0.01
Price in other shops: $34.99
Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series) ImageRuby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby Series)
by Michael Hartl
Addison-Wesley Professional; Published: 2010-12-26; Paperback; Book
Best price: $20.89
Price in other shops: $39.99
Book store. Illustrated catalog of books on different categories