Design Pattern 按图索骥

Creational Patterns

Abstract Factory  Creates an instance of several families of classes

abstract

Builder  Separates object construction from its representation

builder

Factory Method  Creates an instance of several derived classes

 

Prototype  A fully initialized instance to be copied or cloned

Singleton  A class of which only a single instance can exist


For detail, refer to
1. “重构----改善既有代码的设计.pdf”
2. http://www.cnblogs.com/Terrylee/archive/2008/06/13/cnblogs-book-design-pattern.html
3. http://www.dofactory.com/Patterns/Patterns.aspx
4. etc.

Adapter

image

你可能感兴趣的:(design pattern)