设计模式开篇

作者: shh_ | 来源:发表于2016-10-21 14:09 被阅读0次

    设计模式是一套被反复使用的、多数人知晓的、经过分类编目的、代码设计经验的总结。所学知识是从网络上学习总结、设计到自己的理解、以便加深印象


    设计模式的类型

    • 创建型模式 (判断针对某个给定实例需要创建哪些对象时更加灵活)
      • <a href="http://www.jianshu.com/p/727b6c0ab006">工厂模式(Factory Pattern)</a>
      • 抽象工厂模式(Abstract Factory Pattern)
      • <a href="http://www.jianshu.com/p/21f0cfe5ec2d">单例模式(Singleton Pattern)</a>
      • 建造者模式(Builder Pattern)
      • 原型模式(Prototype Pattern)
    • 结构型模式 (继承的概念被用来组合接口和定义组合对象获得新功能的方式)
      • 适配器模式(Adapter Pattern)
      • 桥接模式(Bridge Pattern)
      • 过滤器模式(Filter、Criteria 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)
      • 状态模式(State Pattern)
      • 空对象模式(Null Object Pattern)
      • 策略模式(Strategy Pattern)
      • 模板模式(Template Pattern)
      • 访问者模式(Visitor Pattern)
    • JavaEE模式 (关注表示层。这些模式是由 Sun Java Center 鉴定的)
      • MVC 模式(MVC Pattern)
      • 业务代表模式(Business Delegate Pattern)
      • 组合实体模式(Composite Entity Pattern)
      • 数据访问对象模式(Data Access Object Pattern)
      • 前端控制器模式(Front Controller Pattern)
      • 拦截过滤器模式(Intercepting Filter Pattern)
      • 服务定位器模式(Service Locator Pattern)
      • 传输对象模式(Transfer Object Pattern)

    Paste_Image.png

    相关文章

      网友评论

        本文标题:设计模式开篇

        本文链接:https://www.haomeiwen.com/subject/gyxcuttx.html