UML Distilled读书笔记

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),就象买牙刷送小牙膏一样。
不过看着也挺轻松的。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值