Sunday, August 16, 2009

Quick Byte Series - Structural Patterns

Continuining with the Quick Byte Series, Lets go through the structural patterns :

Adaptor : converts the existing interface to a new interface that provides compatibility between unrelated classes and can act as wrapper

Bridge : Decouple an abstraction from its implementation so that the two can vary independently.

Composite : Compose objects into tree structures to represent part-whole hierarchies.

Decorator : Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for extending functionality.

Facade : Make a complex system simpler by providing a general interface.

Flyweight : Use sharing to support large numbers of fine-grained objects efficiently.

Proxy : Provide a placeholder for another object to control access to it.

No comments:

Post a Comment