Gof设计模式分组

Design Pattern:Elements of Reusable Object-Oriented Software(又被称为设计模式圣经),收录了23种设计模式,并将它们归纳为三组:

  1. 创建型模式:Factory Method(工厂方法)模式、Abstract Factory(抽象工厂)模式、Builder(建造者)模式、Prototype(原型)模式、Singleton(单例)模式。
  2. 结构型模式:Adapter(适配器)模式、Bridge(桥接)模式、Composite(组合)模式、Decorator(装饰)模式,Facade(门面)模式、Proxy(代理)模式、Flyweight(享元)模式。
  3. 行为性模式:Chain of Responsibility(责任链)模式、Commond(命令)模式、Interpreter(解释器)模式、Iterator(迭代器)模式、Mediator(中介者)模式、Memento(备忘录)模式、Observer(观察者)模式、State(状态)模式、Strategy(策略)模式、Template Method(模板方法)模式、Visitor(访问者)模式。
posted @ 2015-05-07 19:58  Nuclear  阅读(216)  评论(0编辑  收藏  举报

我只存在于我的世界!