Sunday, August 21, 2005

Mostly Used Design Patterns

We all know there are total 23 regular design patterns so far which are about design and interaction of objects, as well as providing communication platform concerning elegant, reusable solutions to commonly encountered programming challenges. According to individual behavior and functionality, there are three categories:
Creational Factory, Structural Factory, Behavior Factory.

Pattern Lists

  • Highly Used (7): Singleton, Composite, Façade, Proxy, Iterator, Observer, Template.
  • Medium Used (6): Abstract Factory, Factory, Strategy , Adapter , Command , State .
  • Low Used (4) : Builder, Bridge , Decorator , Chains of Responsibility .
  • Seldom Used (6) : Prototype, Flyweight , Interpreter , Mediator , Memento , Visitor

Combined pattern: MVC

MVC pattern is a combined pattern including three patterns:


  • The relationship between Model and View is Observer

  • The views can be nested: Composite

  • The relation ship between View and Controller is Strategy


Creational Factory:



  • Abstract Factory:
(image placeholder)



  • Factory:

  • (image placeholder)




  • Singleton: ****

  • (image placeholder)
Structure Factory:




  • Adapter:

  • (image placeholder)

  • Composite:***

  • (image placeholder)

  • Decorator:

  • (image placeholder)

  • Façade: ***((the current system has some subsystems which can be both simple and complicated .(image placeholder)




  • Proxy:***

  • (image placeholder)

  • Behavioral Factory:

  • Command pattern:

  • (image placeholder)




  • Iterator pattern: ***




  • (image placeholder)

  • Observer Pattern:***

  • (image placeholder)




  • State:

  • (image placeholder)

  • Strategy:

  • (image placeholder)




  • Template Method:***

  • (image placeholder)

  • Strategy

  • (image placeholder)

0 Comments:

Post a Comment

<< Home