Sunday, September 26, 2010

Design Patterns overview

A good web site on this topic : http://www.dofactory.com
You can clic on any of the pattern below to have more details.
Here you can find a example of the 4 types of software architecture : http://dchaffiol.free.fr/info/architecture/art_archi_spheres_g.htm



Creational Patterns
  Creates an instance of several families of classes
  Separates object construction from its representation
  Creates an instance of several derived classes
  A fully initialized instance to be copied or cloned
  A class of which only a single instance can exist

  Structural Patterns
  Match interfaces of different classes
  Bridge
  Separates an object’s interface from its implementation
  A tree structure of simple and composite objects
  Add responsibilities to objects dynamically
  Facade
  A single class that represents an entire subsystem
  A fine-grained instance used for efficient sharing
  Proxy
  An object representing another object

  Behavioral Patterns
  A way of passing a request between a chain of objects
  Encapsulate a command request as an object
  A way to include language elements in a program
  Sequentially access the elements of a collection
  Defines simplified communication between classes
  Capture and restore an object's internal state
  A way of notifying change to a number of classes
  State
  Alter an object's behavior when its state changes
  Encapsulates an algorithm inside a class
  Defer the exact steps of an algorithm to a subclass
  Defines a new operation to a class without change

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.