Book about design pattern

Dear all,
     I have some base knowledge about ruby on rails. Is there some perfect
book about design pattern? Thanks

···

--
Best Regards
Cooper Geng

coolgeng coolgeng wrote:

Dear all,
     I have some base knowledge about ruby on rails. Is there some perfect
book about design pattern? Thanks

Well ... I don't know if it's *perfect*, but I highly recommend Martin Fowler's "Refactoring".

coolgeng coolgeng wrote:

Dear all,
     I have some base knowledge about ruby on rails. Is there some perfect
book about design pattern?

No.

Thanks

Hey, no problem.

:slight_smile:

Seriously, patterns are often language-specific. the GoF book is typically cited, but patterns for Java/C++ do not always apply in Ruby.

There is (to my knowledge) no Patterns for Ruby book (though it would not surprise me if someone is signing a publishing contract at this very moment), but a Smalltalk patterns book might help.

···

--
James Britt

"Simplicity of the language is not what matters, but
simplicity of use."
  - Richard A. O'Keefe in squeak-dev mailing list

Hello --

Seriously, patterns are often language-specific. the GoF book is
typically cited, but patterns for Java/C++ do not always apply in Ruby.

I can't say I agree here. Patterns are just that; patterns. How they
manifest themselves within different languages might differ, but the
intent is still the same. Take the AbstractFactory pattern for
example -- you get that one for free in Ruby. There's already the
Observer pattern in the core, too.

There is (to my knowledge) no Patterns for Ruby book (though it would
not surprise me if someone is signing a publishing contract at this very
moment), but a Smalltalk patterns book might help.

IMO, the GOF book is all you need, although note:

As well as numerous (sporadic, more like) references to do with
patterns on the C2 wiki:

http://c2.com/cgi/wiki

-- Thomas Adam

···

On 30/10/2007, James Britt <james.britt@gmail.com> wrote:

There is (to my knowledge) no Patterns for Ruby book

Russ Olsen's "Design Patterns in Ruby" is on it's way :

Regards,

Chris

···

--
Posted via http://www.ruby-forum.com/\.

> There is (to my knowledge) no Patterns for Ruby book

Russ Olsen's "Design Patterns in Ruby" is on it's way :

http://www.amazon.com/Design-Patterns-Ruby-Addison-Wesley-Professional/dp/0321490452

I'm really looking forward to this one. In addition, there are two
pdf's (also from AW) that might be interesting:
   Rails Refactoring to Resources
   Rubyisms in Rails

both of these are available either as a pdf or in their
    Professional Ruby Collection
    http://www.amazon.com/Professional-Ruby-Collection-Refactoring-Addison-Wesley/dp/0132417995

···

On 10/30/07, Chris Lowis <chris.lowis@gmail.com> wrote:

Regards,

Chris
--
Posted via http://www.ruby-forum.com/\.

--
thanks,
-pate
-------------------------
   Duty makes us do things, Love make us do things well.
http://on-ruby.blogspot.com http://on-erlang.blogspot.com
          http://on-soccer.blogspot.com

Interesting. Veeeery, interesting.

···

On Oct 30, 2007, at 4:41 AM, Chris Lowis wrote:

There is (to my knowledge) no Patterns for Ruby book

Russ Olsen's "Design Patterns in Ruby" is on it's way :

http://www.amazon.com/Design-Patterns-Ruby-Addison-Wesley-Professional/dp/0321490452

Regards,

Chris
--
Posted via http://www.ruby-forum.com/\.

Actually, I got the book named "GOF patterns in ruby". It may be the answer
of my question.

···

On Oct 30, 2007 9:03 PM, John Joyce <dangerwillrobinsondanger@gmail.com> wrote:

On Oct 30, 2007, at 4:41 AM, Chris Lowis wrote:

>> There is (to my knowledge) no Patterns for Ruby book
>
> Russ Olsen's "Design Patterns in Ruby" is on it's way :
>
> http://www.amazon.com/Design-Patterns-Ruby-Addison-Wesley-
> Professional/dp/0321490452
>
>
>
>
> Regards,
>
> Chris
> --
> Posted via http://www.ruby-forum.com/\.
>
Interesting. Veeeery, interesting.

--
Best Regards
Cooper Geng