Wednesday, May 9, 2007

Applying Design Patterns

Design patterns is something which has intrigued me since I joined the industry and my seniors informed me about the mystical thing. Earlier I dreaded it but gradually I learnt it through lot of readings, examples and real code in projects.

Today I saw another nice and simpler explanation of 4 of the basic and most used design patterns (besides some creational patterns like factory and singleton).

The observer pattern is explained here.
The other three patterns namely strategy, decorator and builder are explained here.

No comments: