Start reading Design Patterns in Ruby on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Design Patterns in Ruby
 
 

Design Patterns in Ruby [Kindle Edition]

Russ Olsen
5.0 out of 5 stars  See all reviews (8 customer reviews)

Print List Price: £39.99
Kindle Price: £23.01 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £16.98 (42%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £23.01  
Hardcover £31.67  


Product Description

Product Description

This is the eBook version of the printed book.

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.

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.


Product details


More About the Author

Russ Olsen
Discover books, learn about writers, and more.

Visit Amazon's Russ Olsen Page

What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

 

Customer Reviews

8 Reviews
5 star:
 (8)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

2 of 2 people found the following review helpful:
5.0 out of 5 stars Design Patterns without Java (long overdue)!, 11 Dec 2009
By 
SimonT "Simon" (Hertfordshire, England) - See all my reviews
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
5.0 out of 5 stars Amazing Depth and Clarity, 15 July 2008
By 
G. Gilmour (Belfast N.Ireland) - See all my reviews
(REAL NAME)   
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Would you like to see more reviews about this item?
 Go to Amazon.com to see all 20 reviews  4.7 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Most Recent Customer Reviews






Only search this product's reviews



Popular Highlights

 (What's this?)
&quote;
Separate out the things that change from those that stay the same. Program to an interface, not an implementation. Prefer composition over inheritance. Delegate, delegate, delegate. &quote;
Highlighted by 24 Kindle users
&quote;
Whenever you put in a feature before you really need it, you are guilty of programming while stupid; &quote;
Highlighted by 22 Kindle users
&quote;
The key idea underlying the Strategy pattern is to define a family of objects, the strategies, which all do the same thingin our example, format the report. Not only does each strategy object perform the same job, but all of the objects support exactly the same interface. &quote;
Highlighted by 19 Kindle users

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


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges