GoF 对于23种设计模式的分类:
目的 | ||||
创建型 | 结构型 | 行为行 | ||
范围 | 类 | Factory Method[1] | Adapter[6] | Interpreter[13] Template Method[14] |
对象 | Abstract Factory[2] Builder[3] Protoype[4] Singleton[5] | Bridge[7] Composite[8] Decorator[9] Façade[10] Flyweight[11] Proxy[12] | Chain of Responsibility[15] Command[16] Iterator[17] Mediator[18] Memento[19] Observer[20] State[21] Strategy[22] Visitor[23] |