Pages

Friday, 11 January 2008

Structural Patterns

We now turn to the Structural patterns proposed by Gamma et al.
  • Adapter (a class or interface created in order to adapt an object for another implementation)
  • Bridge (the abstraction is separated from the implementation of a classso that they can evolve independantly)
  • Composite (structures are organised in tree structures in order to model part-whole relationships but still offer a somewhat similar mean of interaction)
  • Decorator (supplementary functionalities are attached to an object dynamically)
  • Facade (provide a higher level interface thus simplifying its use)
  • Flyweight (in order to support a large amount of fine-grained objects resources are shared)
  • Proxy (an object serving as surrogate for another object in order to simplify the control of the original object)