Wednesday, February 6, 2008

Design Patterns an Overview cont…

Creational Patterns are patterns that create objects for you, rather creating them directly. This gives your program the flexibility of deciding which object to be created. We can create different object for different cases without changing the code. Eg. Factory, Abstract Factory, Builder, Singleton

Structural patterns will help you to compose groups of objects to structures, which can be used in your system / program like complex interfaces and computation. Eg. Adapter, Flyweight, Façade

Behavioral patterns will help you to define the communication between objects in your system / program. This would be of greater help in controlling flow in a complex program. Eg. Observer, Mediator, Iterator

Keep visiting, lots more to come, if you need detail explanation on any pattern let me know. Kindly share your comments and views.

No comments: