Design Patterns in Ruby

Design Patterns in Ruby (Addison-Wesley Professional Ruby Series)

by
4.13 of 5 stars 4.13  ·  rating details  ·  204 ratings  ·  23 reviews
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 devel...more
Hardcover, 352 pages
Published December 1st 2007 by Addison-Wesley Professional
more details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Community Reviews

(showing 1-30 of 452)
filter  |  sort: default (?)  |  rating details
Noah
Good but overly wordy book of design patterns in ruby. Ruby implementations of design patterns are definitely terse which is exciting and the patterns are very useful. There were several cases where I could think of simpler or alternate implementations than the ones given (e.g. composite).

There was a little too much cruft around failed versions of the design pattern which obscured skimming for successful implementations when using the book as a reference. In my opinion book could be condensed b...more
Nate Klaiber

If you have been programming for any extended period of time, I am sure you have started to see different patterns emerging out of your tasks. You may find you are doing the same thing over and over again, solving problems that you had previously solved in another project. These patterns can vary from smaller chunks of re-usable code, to manage the sending and receiving of email, all the way to watching over a part of your application and triggering notifications to another part of your applicat

...more
Marshall
This was such a fun and useful book! It picks 14 out of the 23 commonly known design patterns in programming, and demonstrates how they can be uniquely expressed in Ruby. Then it adds three more that are commonly used in Ruby code.

This book is so well-written, with very understandable explanations and code, and plenty of fun quips to keep it light, but also very concise. This book weighs in at 340 pages, which is tiny for a programming book. I also like that this author didn't take the easy way...more
Michael
As a Java programmer finally checking out Ruby I must say that it felt like this book was written for me. I don't mean for someone "like" me but ME. I've studied the GoF patterns extensively and have always been left wanting (leading to my explorations into more expressive languages). However, Mr. Olsen seems to understand this exquisite yearning and addresses it head on. Each section presents a laser focus on the misshapen GoF pattern and systematically slices off the knobby bits until only the...more
Ken-ichi
Having recently taken a course on design patterns, I was eager to start applying them in my work. Most of the examples out there are very Java-oriented, and I was constantly wondering whether my implementations were "rubyish" enough. This book is an expensive but well-written and well-organized response to that problem. Olsen does a great job describing each pattern, how it's been traditionally described, how it changes in Ruby, and how it's actually been applied in the wild.

One of my favorite p...more
James Stewart
For many the idea of bringing design patterns to ruby is a terrifying one. Having taken refuge from over-engineered java projects (or for that matter, attempts to apply java engineering approaches to a somewhat dynamic language like PHP) the baggage that often goes along with design patterns isn’t what a recent convert is looking for. But as I mentioned in my last review of a design patterns volume, and series editor Obie Fernandez highlights in his foreword, design patterns don’t have to be use...more
Craig
I've only referred to the GoF Pattern book a couple of times in the years when I had something I needed to do and just needed some ideas. I've been wanting to learn Ruby and Ruby on Rails for years, ever since seeing David Heinemeier Hansson do a presentation at an OSCON I attended. This book was a recommendation and I was very impressed with how Russ not only presented the pattern but described how to implement with Ruby that the most basic Ruby programmer could understand. I was also very impr...more
Alex
Great book. I'd never read about design patterns, so being introduced to them with a Ruby perspective was very valuable. It's a valuable introduction and store of information to keep in the back of my mind for the problems I'll encounter. (Like one I already have -- I'm about to use the Composite pattern for a personal project.) Definitely recommended for any Ruby developer.
Brent Vatne
Great as an introduction to design patterns for beginners or for those new to ruby. Unlike most technical authors, Russ Olsen's conversational writing style makes his books easy and enjoyable to read, and his clever use of repetition and reminders throughout help to reinforce important concepts.
James Wagner
Read well and fast for a tech book.
Thomas
Awesome coverage of both design patterns and ruby in one place.
gargamelscat
This review has been hidden because it contains spoilers. To view it, click here.
Said A
This book will help you see how original GoF design patterns are done "the ruby way". If you are not familiar with design patterns, then you must first learn them. This book will not teach you them. It is a quick and easy read.
Harri Kauhanen
Somewhat weird concept being a Ruby tutorial and patterns reference at the same time. Author's writing style is already showing signs of mastery... And master he becomes in his next book "Eloquent Ruby". Time for just one Ruby book? Pick the latter one. Definitely want a classical GoF point of view on things? This is not a bad book.
Enrico
Feb 05, 2013 Enrico added it
an interesting book. i wonder if the richness
of the ruby language somehow makes patterns LESS interesting.
it seems to me that the code that you write is closer to
simply reflecting the pattern than other languages.
Katherine
The book explores GoF (Gang of Four) design patterns and a few commonly-used patterns by Ruby developers.

I just wish the author gave more practical real-world examples rather than ducks and ponds.
Paul
Feb 14, 2013 Paul rated it 5 of 5 stars
Shelves: ruby
The first technical book I've read straight from cover to cover in a long while! Excellent, detailed and pragmatic treatment of core design patterns translated to the ruby way.
Josh
A great take on how design patterns are applied using the Ruby programming language. Also contains information on how to develop your own DSLs and custom parsers.
Erin
A book that explains design patterns, practically, in a language I use. Double plus good bonus.
Jan
Minus za trochę błędów logicznych (wina tłumaczenia?). Poza tym solidna pozycja.
Rafael Chacon
Must read book.
Russ Olsen
May 29, 2010 Russ Olsen rated it 5 of 5 stars  ·  (Review from the author)
Ah, the classics.
Melvin
May 18, 2013 Melvin marked it as to-read
Svetoslav Goranov
May 16, 2013 Svetoslav Goranov marked it as to-read
Eser Şahin
May 14, 2013 Eser Şahin marked it as to-read
Cathal
May 13, 2013 Cathal is currently reading it
Blaz
May 12, 2013 Blaz is currently reading it
Kiril Kirov
May 12, 2013 Kiril Kirov is currently reading it
« previous 1 3 4 5 6 7 8 9 15 16 next »
There are no discussion topics on this book yet. Be the first to start one »
Ruby. Wzorce projektowe (Hardcover)
Design Patterns in Ruby (Addison-Wesley Professional Ruby Series)
Design Patterns in Ruby (ebook)

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Eloquent Ruby

Share This Book

Your website