设计的定义
Design is the creative process of transforming the problem into a solution, the description of the solution is call the DESIGN.
软件体系结构的定义和要素
软件体系结构={构件,连接件,约束}
Three level
- Architectrue
- Code design
- Executable design
体系结构风格与策略
Piper-and-Filter
Client-Server
Peer-to-Peer
Publish-Subscribe
Repositories
Laying
设计特性
独立性
- 一个模块具有独立的功能,和其它模块之间没有过多的相互作用
- 独立的模块容易开发,容易测试维护,有效阻断错误传播
内聚与耦合
耦合等级
- 内容耦合
- 公共耦合
- 控制耦合
- 标记耦合
- 数据耦合
- 非直接耦合
内聚等级
- 功能性内聚
- 顺序内聚
- 通信内聚
- 过程内聚
- 时间内聚
- 逻辑内聚
- 偶然内聚
