sharplife


software is a artwork, also make the life better !!!
  首页  :: 联系 :: 订阅 订阅  :: 管理

UmlDistilled之Use Case

Posted on 2007-01-07 15:14  sharplife  阅读(292)  评论(0编辑  收藏  举报
   uml相关的知识记得在学校就已经学习了,但至今在工作中未善以利用,所以准备先细致完整的学习一遍,所记算是uml distilled和uml2.0 in a nutshell的读书笔记吧。

Actors

think about roles rather than people or job titles.

pop out use cases fora each actor
Identifying the events that you need to react to will help you identify the use cases.

Use Case Relationships


Apply the following rules

   Use include when you are repeating yourself in two or more separate use cases and you want to avoid repetition.

   Use generalization when you are describing a variation on normal behavior and you wish to describe it casually.

   Use extend when you are describing a variation on normal behavior and you wish to use the more controlled form, declaring your extension points in your base use case.

SystemBusiness use cases

   a system use case is an interaction with the software, whereas a business use case discusses how a business responds to a customer or an event.

   I focus on business use cases first, and then I come up with system use cases to satisfy them. By the end of the elaboration period, I expect to have at least one set of system use cases for each business use case I have identified-at minimum


When to Use Use Cases

   requirements capture and in planning and controlling an iterative project. Capturing use cases is one of the primary tasks of the elaboration phase.

   I've also found that conceptual modeling with users helps uncover use cases. So I tend to do use cases and conceptual modeling at the same time.


   use cases represent an external view of the system. As such, don't expect any correlations between use cases and the classes inside the system.

 

More

http://alistair.cockburn.us/index.php/Main_Page