摘要:
6、面向对象设计 … Object-oriented Design 面向对象设计在系统开发中的位置 Contrast the importance of object design skill versus UML notation knowledge6.1 面向对象设计的关注点 面向对 阅读全文
摘要:
开始进入设计 … Transition to Design 从需求分析到设计 逻辑架构与子系统 Logical Architecture and sub-system 5.1 向设计过程切换 Transition to Design 需求与领域分析阶段During requirement 阅读全文
摘要:
4、操作契约 Operation Contracts “用例描述”的补充 强调: 用例中重要的动作,其开始与结束是需要一些约束 4.5 操作契约的后置条件 定义Definition 后置条件描述了领域对象状态的变化 describe changes in the state of o 阅读全文
摘要:
3、契约式设计 Design by Contract 可信软件设计的基础思想 谚语: When ideas fail, words come in very handy ! 他人译文“殚思竭虑之时,文字将成为利器” 本人认为“当想法失败时,总会出来许多理由辩解”3.1 问题的引入 由谁负责系 阅读全文
摘要:
2.1 用例描述事物本质,与界面无关 用例描述,关注参与者的目标,而不是实现界面这类细节 1)洞察“the goal of the goal ” Example, “Log on”, 收银员在想着 GUI, dialog box, user ID, and password 但这是一 阅读全文
摘要:
1、准备高质量的”用例模型 ”… OOAD的主要输入!Use Case is the main input of OOAD1.1 用例模型 用例模型的组成 参与者 用例(取名:短小精悍的动名词,如“取钱”、“修改密码) 用例描述 (作为领域模型的输入、设计的输入、开发的输入… 阅读全文
摘要:
系统顺序图 System Sequence Diagram 把待建系统看成一个黑盒子,研究参与者与系统边界的交互 SSD System Sequence Diagram What is SSD A SSD is a picture that shows, for one part 阅读全文
摘要:
敏捷建模Agile Modeling – 类图的草图 – 是否利用工具建模 创建领域模型的目的是快速地理解关键的概念,并在涉众之间交流 the purpose of creating a domain model is to quickly understand and communic 阅读全文
摘要:
领域模型 Domain Model 什么是领域模型 一种概念模型,问题领域的概念的表示 A conceptual model,a representation of concepts in a problem domain 如何表示领域模型 简单地说, “没有定义操作的类图” 模 阅读全文
摘要:
CRC 又称为CRC索引卡片:CRC card 每张卡片代表一个类 Each card represents one class 每张卡片上写出这个类承担的职责、与其合作交互的其他类名 CRC cards are paper index cards on which one writes 阅读全文
摘要:
标识概念类和对象 原则 类,表示一组具有相同行为、属性的对象 Remember that a class represents a group (classification) of objects with the same behaviors 类,在表示对象群体的时候,一般用单数 G 阅读全文