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)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值