Design Patterns in Ruby and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: 13.98

or
 
   
Trade in Yours
For a 3.40 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Design Patterns in Ruby on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Design Patterns in Ruby (Addison-Wesley Professional Ruby) [Hardcover]

Russ Olsen
5.0 out of 5 stars  See all reviews (10 customer reviews)
RRP: 35.99
Price: 27.75 & FREE Delivery in the UK. Details
You Save: 8.24 (23%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 9 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 30 Aug.? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition 19.29  
Hardcover 27.75  
Trade In this Item for up to 3.40
Trade in Design Patterns in Ruby (Addison-Wesley Professional Ruby) for an Amazon Gift Card of up to 3.40, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

10 Dec 2007 0321490452 978-0321490452 1

Praise for Design Patterns in Ruby

"Design Patterns in Ruby documents smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work."

—Steve Metsker, Managing Consultant with Dominion Digital, Inc.

"This book provides a great demonstration of the key 'Gang of Four' design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically 'dry' subject into such an engaging and even occasionally humorous read."

—Peter Cooper

"This book renewed my interest in understanding patterns after a decade of good intentions. Russ picked the most useful patterns for Ruby and introduced them in a straightforward and logical manner, going beyond the GoF's patterns. This book has improved my use of Ruby, and encouraged me to blow off the dust covering the GoF book."

—Mike Stok

"Design Patterns in Ruby is a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby."

—Rob Sanheim, Ruby Ninja, Relevance

Most design pattern books are based on C++ and Java. But Ruby is different—and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code.

After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language—enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and "mixins" for easier code reuse.

Fourteen of the classic "Gang of Four" patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require.

Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based "Convention Over Configuration" pattern, designed to help integrate entire applications and frameworks.

Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.


Frequently Bought Together

Design Patterns in Ruby (Addison-Wesley Professional Ruby) + Eloquent Ruby (Addison-Wesley Professional Ruby) + Practical Object Oriented Design in Ruby: An Agile Primer (Addison-Wesley Professional Ruby)
Price For All Three: 72.82

Buy the selected items together


Product details

  • Hardcover: 384 pages
  • Publisher: Addison Wesley; 1 edition (10 Dec 2007)
  • Language: English
  • ISBN-10: 0321490452
  • ISBN-13: 978-0321490452
  • Product Dimensions: 23.4 x 18.6 x 2.6 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Bestsellers Rank: 105,054 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Back Cover

Praise for Design Patterns in Ruby

"Design Patterns in Ruby documents smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work."

—Steve Metsker, Managing Consultant with Dominion Digital, Inc.

"This book provides a great demonstration of the key 'Gang of Four' design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically 'dry' subject into such an engaging and even occasionally humorous read."

—Peter Cooper

"This book renewed my interest in understanding patterns after a decade of good intentions. Russ picked the most useful patterns for Ruby and introduced them in a straightforward and logical manner, going beyond the GoF's patterns. This book has improved my use of Ruby, and encouraged me to blow off the dust covering the GoF book."

—Mike Stok

"Design Patterns in Ruby is a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby."

—Rob Sanheim, Ruby Ninja, Relevance

Most design pattern books are based on C++ and Java. But Ruby is different—and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code.

After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language—enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and "mixins" for easier code reuse.

Fourteen of the classic "Gang of Four" patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require.

Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based "Convention Over Configuration" pattern, designed to help integrate entire applications and frameworks.

Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.

About the Author

Russ Olsen has been building software for more than twenty-five years. He has led projects through several generations of programming technologies, from FORTRAN to C to C++ to Java, and now Ruby. He has been using and teaching Ruby since 2002. Olsen writes the popular technology blog Technology As If People Mattered (http://www.russolsen.com).


Inside This Book (Learn More)
First Sentence
It's funny, but design patterns always remind me of a certain grocery store. Read the first page
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
Format:Kindle Edition|Verified Purchase
I've read a few Ruby books and this one has to be my favourite!

If you buy any book on patterns, in any language, you will definately be doing yourself a favour and teaching yourself a transferable skill. However, it's more of a "transferable skill" if you are able to:

a) understand; and
b) remember

the code in the first place!

The consiceness of Ruby and easy-to-read style of the author allow you to do both.

Russ doesn't just spoon feed you pattern after pattern. Instead, he presents a series of problems, in which he builds an initial program, and refactors toward the end solution/pattern.

What I found especially encouraging along the way is that Russ's ability to point out the use of patterns within the Ruby Language itself and other libraries used. Russ doesn't tell you to boast of his mysteriously aquired knowledge. He admits that his knowledge is the result of rummaging through the source and he encourages/inpires you to do the same.

The book covers 14 of the patterns covered by GoF's book however after reading this book you shouldn't have a problem understanding patterns on resources such as Wikipedia or using them to derive a Ruby version if needed.

The chapters on DSL's and Metaprogramming are brilliant and will make you really think about what you've learnt in the previous chapters. These chapters alone teach you how to transform Ruby(or <insert meta-programming-langage>) into a powerful tool.

You come away from this book a better programmer ready to appreciate and understand libraries like Rails, Docker, Vagrant, Puppet, even JQuery etc down to the file layout. Better still it if you have anything in mind, it puts you in a position to start your own!

To get begin your knowledge of patterns with any other book would be your first mistake!
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Design Patterns without Java (long overdue)! 11 Dec 2009
By SimonT
Format:Hardcover
Firstly, I'd never used Ruby before I read this book but I am reasonably experienced in Python and Perl. Having picked up this book from the work library and browsed it, I was quickly hooked. Most books on design patterns that I'd come across were aimed at Java (yuck!) programmers, this was the first I'd found that described design patterns for a dynamic language. The author seems to have found an unmet need in the programming books market with this one. Any Perl or Python programmer who understands the basics of OO should have no problem with the content here, the examples are very clear and the explanations are excellent. Using this book and Google searches the patterns described can easily be translated into either Perl or Python. My only quibble, and it's a very minor one, is that although UML is used throughout, there is no brief overview of it. As he writes so well, maybe he could have even made UML seem interesting! Anyway, I really think this book is well worth the price, I've now got my copy and have even begun to dabble in some Ruby.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Amazing Depth and Clarity 15 July 2008
Format:Hardcover
This book has three goals. To introduce Design Patterns, introduce Ruby and explain how the latter simplifies the former. That it manages to do so in 330 pages, without over-simplifying or stresing one goal at the expense of another, is an amazing achievement. Highly recommended to anyone interested in Design Patterns, regardless of their current language.
Comment | 
Was this review helpful to you?
6 of 7 people found the following review helpful
5.0 out of 5 stars Best programming book I have ever read 10 Feb 2008
By B Haus
Format:Hardcover
I bought this book seeking to understand more about Design Patterns and general Ruby programming, having only dabbled in ruby through Ruby on Rails. This book is very easy to read, the examples are simple enough to be easily followed when not at a computer but also sophisticated and useful to really play around with and learn from the code.

The style of the writing is very easy to follow and the author explains the concepts well with real world examples. I really liked how he looked at a variety of uses of the design patterns he presents.

I cannot recommend this book enough, it is simply the most well written and informative programming book i have ever read.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars I see everyone else gave 5 stars... 24 Sep 2010
Format:Hardcover
...and this book really is worth 5 stars.

I've previously worked using C# and Perl, dabbled in Haskell, and lately had been making a real effort to learn Ruby. But when you're learning a language you'll read a few books on the subject and mostly it'll be syntax and the odd concept interspersed with quite contrived and slightly useless examples, so you're left at the end with knowledge but lacking the experience you generally only get from working on the coal face.

I'd read design patterns books before, and they usually help bridge that gap which is why I was so pleased to see this book exists (especially for a dynamic language too), but it is really in a class of it's own. The examples are so relevant to real work that you could actually take them and release them as actually useful software (at least the beginnings of some). Since reading this book I've written two libraries, one of which I released as a gem that other people are downloading and using, and the other will be released as part of some desktop software soon. I feel this is a direct result of reading the book.

Every bit of praise the other reviewers has given is true. This probably is the best computing book I've read, and I'm going to email the author and thank him personally too. I hope he writes a lot more books because he's good at it.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback