zoukankan      html  css  js  c++  java
  • Flexibility Pattern架构和设计模式

    一、 分隔核心单元

    l          Model-View-Controller架构模式

    l          Presentation-Abstraction-Control架构模式

    l          Layer架构模式

    l          Pipes and Filter架构模式

    二、 在系统运行时的灵活性

    Component Configurator设计模式(构建一个系统配置机制)

    三、 自由扩展、变更、自适应

    l          Intercepter设计模式

    l          Visitor设计模式

    l          Strategy设计模式

    l          Extension Object设计模式

    l          Decorator设计模式

    四、 将系统功能隐藏,分割开Client端对系统功能的直接依赖

    l          Extension Interface设计模式

    l          Facade设计模式

    l          Adapter设计模式

    l          Mediator设计模式

    l          Proxy设计模式

     

    Disposal Method设计模式

    系统架构质量的五维模型(DESSA):

    一、架构和设计模式的密度(Density)

    为解决系统并发可使用:Active Object、Proxy、Command、Composite、Memento、Command and Processor、Singleton、Strategy;

    为解决系统访问“同步”问题:Active Object、Scoped Locking、Strategized Locking、Thread-safe Interface、Double-checked Locking Optimization

    另外,系统架构并不是把这些设计模式作为一个个独立的单元进行堆积,而是按照在系统中扮演角色的需要来使用设计模式。

    二、系统架构的匀称性(Symmetry)

    三、架构是否实用简洁(Simplicity)

    “KISS”原则:Keep It Stupid Simple

    四、架构的表达能力(Expressiveness)

    五、架构是否考虑了系统自适应能力(Adaption)

  • 相关阅读:
    [CISCN2019 华北赛区 Day1 Web2]ikun
    [BJDCTF 2nd]简单注入
    [BJDCTF2020]ZJCTF,不过如此
    [BJDCTF2020]The mystery of ip
    [SWPU2019]Web1
    [WesternCTF2018]shrine
    [BJDCTF 2nd]假猪套天下第一
    [BJDCTF2020]Mark loves cat
    [GWCTF 2019]我有一个数据库
    C语言学习笔记_函数与函数库
  • 原文地址:https://www.cnblogs.com/duanxz/p/2532935.html
Copyright © 2011-2022 走看看