views:

66

answers:

2

Hi,

Do you know any resource/s that teaches design patterns by scenario.

Ex : One day x person needs a converting A/C tool between different country resources.....

Answer : Adapter Pattern .. because....

Thanks.

+1  A: 

Design Patterns, Gang of Four.

wheaties
I need an online resource - i need just examples. Thanks.
Altug
Of course it is THE bible, but not the ideal book for a design patterns 101, from my point of view... (but of course a musthave for some deep knowledge)
Aggelos Mpimpoudis
+2  A: 

In a language agnostic point of view, you should buy definitely this (easy to learn through examples):
http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124

or Refactoring To Patterns for a more cause-and-effect approach:
http://www.amazon.com/Refactoring-Patterns-Joshua-Kerievsky/dp/0321213351

Aggelos Mpimpoudis
Head First Design Patterns (the first link) does *exactly* what the OP requests.
Austin Salonen
I should have linked the Refactoring to Patterns too. Good job catching that one!
wheaties