Chapter 2. Development Process
1. 迭代和瀑布模型
迭代(I terations) -- 把项目分解成多个功能的子集,每次迭代完成一部分功能,一次迭代是一个完整的生命周期,包括:需求分析、设计、编码、测试。
S taged delivery -- 混合过程。分析和high-level design应用瀑布模型,编码、测试应用迭代。
T ime boxing -- 迭代常用技巧。每次迭代的时间周期固定,如果在此次迭代中不能完成计划的功能,考虑减掉(slip)一部分功能,但不退后迭代发布的日期。
Rework -- It often is more efficient to rework existing code than to patch around code that was poorly designed.
(重写优于在差的设计的代码上打补丁)
高效rework的技巧:
回归测试 Automated regression tests (Junit)
重构 Refactoring
持续集成 Continuous integration
2.Rational Unified Process(RUP)
RUP的四个阶段
Inception 初始阶段
Elaboration 细化阶段
Construction 构造阶段
Transition 移交阶段 -- deployment, user training, etc
3. Fitting the UML into a Process
3.1 Requirements Analysis
Use cases; class diagram ; activity diagram; state diagram
3.2 Design
Class diagrams ; Sequence diagrams ;Package diagrams ;State diagrams ;Deployment
Chapter 4. Sequence Diagrams
1. centralized control vs distributed control
2. Loops & Conditionals
Sequence 图并不擅长表现Loops & Conditional。
UML1用大方框(interaction frame)来表示.Common Operators包括(loop,alt,opt(没有分支的条件语句))
UML2
3.同步/异步消息表示
同步(实心箭头)
异步(->)
4. CRC (Class-Responsibility-Collaboration) diagrams
老马真搞笑,喜欢在每章结束的时候附上一些小知识(如Design by Contract),就象买牙刷送小牙膏一样。
不过看着也挺轻松的。
1. 迭代和瀑布模型
迭代(I terations) -- 把项目分解成多个功能的子集,每次迭代完成一部分功能,一次迭代是一个完整的生命周期,包括:需求分析、设计、编码、测试。
S taged delivery -- 混合过程。分析和high-level design应用瀑布模型,编码、测试应用迭代。
T ime boxing -- 迭代常用技巧。每次迭代的时间周期固定,如果在此次迭代中不能完成计划的功能,考虑减掉(slip)一部分功能,但不退后迭代发布的日期。
Rework -- It often is more efficient to rework existing code than to patch around code that was poorly designed.
(重写优于在差的设计的代码上打补丁)
高效rework的技巧:
回归测试 Automated regression tests (Junit)
重构 Refactoring
持续集成 Continuous integration
2.Rational Unified Process(RUP)
RUP的四个阶段
Inception 初始阶段
Elaboration 细化阶段
Construction 构造阶段
Transition 移交阶段 -- deployment, user training, etc
3. Fitting the UML into a Process
3.1 Requirements Analysis
Use cases; class diagram ; activity diagram; state diagram
3.2 Design
Class diagrams ; Sequence diagrams ;Package diagrams ;State diagrams ;Deployment
Chapter 4. Sequence Diagrams
1. centralized control vs distributed control
2. Loops & Conditionals
Sequence 图并不擅长表现Loops & Conditional。
UML1用大方框(interaction frame)来表示.Common Operators包括(loop,alt,opt(没有分支的条件语句))
UML2
3.同步/异步消息表示
同步(实心箭头)
异步(->)
4. CRC (Class-Responsibility-Collaboration) diagrams
老马真搞笑,喜欢在每章结束的时候附上一些小知识(如Design by Contract),就象买牙刷送小牙膏一样。
不过看着也挺轻松的。