Wednesday, June 08, 2005

pat 10s

what are patterns? gamma, helm, johnson, vlissides (aka gang of four GOF) are the poineers in this area. they defined around 23 design patterns in the book, but there are many more... we started seeing patterns in architecture, model, documentations..

GOF organizes design patterns as:
1) creational patterns - patterns for dynamically selecting the class of created objects
comprising: abstractfactory,builder, factorymethod, monostate, prototype, singleton
2) structural patterns - patterns that use various language mechanisms for structuring code and assembling objects.
comprising: adapter, bridge, composite, decorator, facade, flyweight, iterator, proxy, retrofitinterface
3)Behavioral patterns - Behavioral patterns based on class tend to use inheritance to describe algorithms and flow of control, whereas the Behavioral patterns that target objects usually describe how a group of objects collaborate to perform some task that no single object can perform alone.

BindingProperties,ChainOfResponsibility,Command,Interpreter,Iterator ,Mediator ,
Memento ,Observer ,State ,Strategy ,TemplateMethod ,Visitor


i will try to explain the design patterns that I have used...

1) adaptor
2) facade
3) singleton
4) factory

0 Comments:

Post a Comment

<< Home