Skip to content

Latest commit

 

History

History
34 lines (32 loc) · 1.44 KB

README.md

File metadata and controls

34 lines (32 loc) · 1.44 KB
项目 描述 ---
创建型模式
Abstract Factory Pattern 抽象工厂模式
Factory Pattern 工厂模式 再创建对象时不会暴露创建逻辑,并且是通过一个共同的接口来指向新对象创建
Singleton Pattern 单例模式
Builder Pattern 建造者模式
Prototype Pattern 原型模式
结构型模式
Adapter Pattern 适配器模式 是两个不兼容的接口之间的桥梁
Bridge Pattern 桥接模式 把抽象化与实例化解耦,使二者可以独立变化
Filter Pattern 过滤器模式
Composite Pattern 组合模式
Decorator Pattern 装饰器模式
Facade Pattern 外观模式
Flyweight Pattern 享元模式
Proxy Pattern 代理模式
行为型模式
Chain Of Responsibility Pattern 责任链模式
Command Pattern 命令模式
Interpreter Pattern 解释器模式 给定规则对数据解析
Iterator Pattern 迭代器模式
Mediator Pattern 中介者模式
Memento Pattern 备忘录模式
Observer Pattern 观察者模式
Null Object Pattern 空对象模式 一个空对象取代NULL对象示例的检查
Strategy Pattern 策略模式 一个类的行为或者算法可以在运行时进行改变
Template Pattern 模板模式 一个抽象类公开定义它调用发放的模板
Visitor Pattern 访问者模式
MVC Pattern MVC模式

参考

设计模式 | 菜鸟教程