设计模式文章

 

Creational 模式  5

1.Simple Factory 模式   Factory(工厂模式)

设计模式之Factory、抽象工厂 :   jdon 工厂方法和抽象工厂合在一起介绍

2.Abstract Factory 模式 

 

3.Builder 模式  Builder(建造模式)

4.Factory Method 模式  Factory Method(工厂方法模式)

设计模式学习笔记(五)——FactoryMethod工厂模式  

5.Prototype 模式  Prototype(原始模型模式)

6.Singleton 模式  Singleton(单例模式)

7.Registry of Singleton 模式 

 

 

Structural 模式  7

1.Default Adapter 模式  Adapter(适配器模式)

适配器模式与装饰者模式  2个模式的比较

2.Adapter 模式 - Object Adapter 

3.Adapter 模式 - Class Adapter 

4.Bridge 模式    Bridge(桥梁模式)

5.Composite 模式   Composite(合成模式)

6.Decorator 模式   Decorator(装饰模式)

装饰者模式    

7.Facade 模式  Facade(门面模式)

8.Flyweight 模式   Flyweight(享元模式)

Flyweight  适用小粒度、大数量对象,

        Java设计模式研究之Flyweight模式 在Java的String有应用此模式

        享元(Flyweight)模式  c++版模式,例子不错

设计模式-----桥接模式(Bridge Pattern    

9.Proxy 模式(一)  Proxy(代理模式)

10.Proxy 模式(二) 

 

 

Behavioral 模式 11

1.Chain of Responsibility 模式 Chain Of Responsibleity(责任链模式)

 

2.Command 模式    Command(命令模式)

http://www.360doc.com/content/10/0704/14/494503_36838956.shtml

Command模式 step by step  不错例子

        研磨设计模式之 命令模式-1  介绍命令模式,有Demo非常好

命令模式(Command)  csdn上的博客,还不错

 

3.Interpreter 模式   Interpreter(解释器模式)

4.Iterator 模式      Iterator(迭代子模式)

5.Mediator 模式      Mediator(调停者模式)

6.Memento 模式 Memento(备忘录模式)

 

7.Observer 模式 Observer(观察者模式)

 

 

8.State 模式 State(状态模式)

9.Strategy 模式 Strategy(策略模式)

10.Template Method 模式 Template Method(模板方法模式)

11.Visitor 模式  Visitor(访问者模式)

 
 
 
 其他:

猜你喜欢

转载自huangrongyou.iteye.com/blog/1546434
今日推荐