Introductory Case Study
- 四类UML图:
- Use case diagrams
- Class diagrams
- Sequence diagrams
- State diagrams
- project中最难的部分: understanding the task you are attempting
- Clarifying the Requirements
- 不同用户需求可能冲突
- 用户表达不清楚需求
- 很难想象和一个只看到描述的系统工作
Use Case Model
- 高质量的系统必须满足用户需求
- user-oriented approach
- We identify the users(actors) of the system and the tasks(use case) they must undertake with the system.
- Scope and Iterations: 为了减少风险,分step和iteration来完成一个系统
- 第一步只做最基本的
- 剩下的强化系统
- 不要创造新的需求:比如药品缺货不应该告诉医生
- 优势:
- 可以先处理 implement more risky use cases first
- 容易alidation checks
Class Diagram
步骤一: