Tuesday, November 22, 2011

OODesign - Design Pattern 7 (Structural Patterns)

Ref: http://www.oodesign.com/design-principles.html

Decorator Pattern
> The intent of this pattern is to add additional responsibilities dynamically to an object.
(ref: http://www.oodesign.com/decorator-pattern-gui-example-java-sourcecode.html)


Flyweight Pattern
> The intent of this pattern is to use sharing to support a large number of objects that have part of their internal state in common where the other part of state can vary.

Proxy Pattern
> The intent of this pattern is to provide a "Placeholder" for an object to control references to it.

No comments:

Post a Comment