软件设计模式分类

发布时间 2023-03-24 20:24:34作者: Cyberdog
 
Creational Patterns (创建型设计模式)
  • Singleton Pattern(单例模式)   
  • Prototype Pattern(原型模式)
  • Factory Method Pattern(工厂方法模式)   
  • Abstract Factory Pattern(抽象工厂模式)
  • Builder Pattern(建造者模式)
 
 
Structual Patterns (结构型设计模式):
  • Adapter Pattern(适配器模式)   
  • Bridge Pattern(桥接模式)
  • Composite Pattern(组合模式)
  • Decorator Pattern(装饰者模式)
  • Façade Pattern(外观模式)
  • Flyweight Pattern(享元模式)
  • Proxy Pattern(代理模式)
 
Behavioral Patterns (行为型设计模式):
  • Chain of Responsibility Pattern(职责链模式)
  • Command Pattern(命令模式)
  • Interpreter Pattern(解释器模式)   
  • Iterator Pattern(迭代器模式)
  • Mediator Pattern(中介者模式)
  • Memento Pattern(备忘录模式)
  • Observer Pattern(观察者模式)
  • State Pattern(状态模式) 
  • Strategy Pattern(策略模式)
  • Template Method Pattern(模板方法模式)
  • Visitor Pattern(访问者模式)

 

根据模式功能和用途分类: