Use Cases: Patterns and Blueprints
暫譯: 使用案例:模式與藍圖

Gunnar Overgaard, Karin Palmkvist

  • 出版商: Addison Wesley
  • 出版日期: 2004-11-22
  • 售價: $2,390
  • 貴賓價: 9.5$2,271
  • 語言: 英文
  • 頁數: 464
  • 裝訂: Hardcover
  • ISBN: 0131451340
  • ISBN-13: 9780131451346
  • 已絕版

買這商品的人也買了...

商品描述

Description:

"Gunnar and Karin have not only defined a large collection of use-case patterns and examples of how specific usages are to be modeled in a use-case model, they have also provided an accurate, complete, and comprehensible description of the constructs used in use-case modeling... I am impressed by this book."

—From the Foreword by Ivar Jacobson

Employ the proven concept of design patterns to build more accurate, usable, and maintainable use-case models

This book brings together dozens of proven patterns for creating use cases that more accurately reflect real requirements, are easier to translate into working systems, and are simpler to maintain. Utilizing these patterns, architects, analysts, engineers, and managers can leverage decades of hard-earned knowledge to achieve far better results, far more quickly.

The authors carefully describe how each pattern works, what problems it is intended to solve, and the consequences associated with using it. All patterns are supported with detailed examples and platform-independent class models that demonstrate how they may be realized. All constructs and diagrams reflect the current UML 2.0 standard. This book also includes an insightful use-case primer that will be indispensable both to novices and veteran modelers seeking to become more effective.

Coverage includes

  • Modeling rules that lead to more comprehensible, maintainable, and correct models

  • Patterns for structuring, layering, mapping, sequencing, and viewing use cases more effectively

  • Blueprints for security, legacy integration, data input/ output, task scheduling, and reporting

  • Constructing use cases that separate mandatory elements from optional parts that can be delivered separately

  • Incorporating business rules in use-case modeling

  • Practical techniques for documenting use cases more effectively

  • When to use multiple patterns and blueprints together

  • Identifying and avoiding eight common mistakes in use-case modeling: guidance for designers and reviewers

  • Examples from a wide range of application domains

Rely on this book as the world's #1 reference to reusable use-case solutions—and as a catalyst for inspiration in all your use-case modeling projects.

 

 

Table of Contents:

Foreword.

Preface.

I. INTRODUCTION.

1. Use-Case Patterns and Blueprints.

    Reusing Experience.

    Contents of the Catalog.

2. Using Patterns and Blueprints in Use-Case Model Development.

    The Internet Bank System.

    The First Draft of the Model.

    Applying Patterns and Blueprints.

    The Complete Model.

    Concluding Remarks.

II. USE CASES.

3. Use-Case Modeling: An Introduction.

4. Use Cases.

    Use Case: A Type of Utilization Providing a Value.

    A Gray-Box View of the System.

    Use-Case Instance: A Specific Utilization.

    Basic Flow and Variations.

    Infinitely Large Models?

5. Modeling the System Environment.

    Actor: An External User.

    Interaction Between Use Cases and Actors.

6. Structuring a Use-Case Model.

7. Include: Reusing Existing Use Cases.

    Include Relationship.

    Documentation of the Include Relationship.

    Dependency on Inclusion Use Cases.

8. Extend: Expanding Existing Use Cases.

    Extend Relationship.

    Characteristics of the Extend Relationship.

    Extension Points.

    Conditional Extensions.

    Documentation of the Extend Relationship.

    Dependencies Between Extending Use Cases.

9. Include vs. Extend.

10. More on Extend and Extension Points.

    Multiple Fragments of Additional Behavior.

    Multiple Insertions.

    More on Extension Points.

11. Use-Case Generalization: Classification and Inheritance.

    Generalization Between Use Cases.

    Documentation of the Generalization Relationship.

      Between Use Cases.

12. Actor Generalization: Overlapping Roles.

13. Describing Use Cases.

    Documenting Use Cases.

      Use Case: Order Ticket.

    Guidelines for Writing.

    Sections of a Use-Case Description.

14. Documenting a Use-Case Model.

    Use-Case Model Survey.

    Use-Case Diagrams.

    Supplementary Documents.

15. Mapping Use Cases onto Classes.

    Kick-Starting the Class Modeling.

    Analysis Models and Design Models.

    Analysis Classes.

     Use-Case Realization: How Objects Perform a Use Case.

III. USE-CASE PATTERNS.

16. Business Rules.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Create Order for Shipping.

      Business Rules.

    Analysis Model.

17. Commonality.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Perform Task.

      Use Case: Generate Pick List.

      Use Case: Generate Invoicing Basis.

    Analysis Model.

18. Component Hierarchy.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Register Order.

      Use Case: Create Order.

      Use Case: Check Item.

      Use Case: Reduce Number of Available Items.

    Analysis Model.

19. Concrete Extension or Inclusion.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Look-Up Flight.

      Use Case: Order Ticket.

      Use Case: Present Help.

    Analysis Model.

20. CRUD.

    Intent.

    Patterns.

    Description.

    Discussion.

    Example.

      Use Case: CRUD Task.

    Analysis Model.

21. Large Use Case.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Register Insurance Tender.

    Analysis Model.

22. Layered System.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Deposit Money.

      Use Case: Register Event.

      Use Case: Notify Advisor of Large Balance.

    Analysis Model.

23. Multiple Actors.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Local Call.

      Use Case: Order Ticket.

    Analysis Model.

24. Optional Service.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Create Order.

      Use Case: Restock Item.

    Analysis Model.

25. Orthogonal Views.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Evaluate and Apply Rules.

      Use Case: Check Spelling.

    Analysis Model.

26. Use-Case Sequence.

    Intent.

    Patterns.

    Discussion.

    Example.

      Use Case: Present Navigation Page.

      Use Case: Present Accounts.

      Use Case: Pay Bills.

      Use Case: Present Account Transactions.

    Analysis Model.

IV. USE-CASE BLUEPRINTS.

27. Access Control.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Manage Form.

      Use Case: Manage Access Rights of a Form.

      Use Case: Check Access Rights.

      Use Case: Present Event Information.

      Use Case: Register to an Event.

    Analysis Model.

28. Future Task.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Manage Task.

      Use Case: Perform Task.

      Use Case: Generate Invoicing Basis.

    Analysis Model.

29. Item Look-Up.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Look-Up Flight.

      Use Case: Order Ticket.

    Analysis Model.

30. Legacy System.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Register Order, Version 1.

      Use Case: Register Order, Version 2.

    Analysis Model.

31. Login and Logout.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Login/Logout.

      Use Case: Order Ticket.

      Use Case: Check for Messages.

      Use Case: Manage User Information.

    Analysis Model.

32. Message Transfer.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Create Order.

      Use Case: Restock Item.

      Use Case: Login/Logout.

      Use Case: Deliver Message.

    Analysis Model.

33. Passive External Medium.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Turn the Heater On or Off.

      Use Case: Run the Heater at Full Power.

    Analysis Model.

34. Report Generation.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Generate Report.

      Use Case: Manage Report Template.

      Use Case: Generate Order Report.

    Analysis Model.

35. Stream Input.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Amplify Input Stream.

    Analysis Model.

36. Translator.

    Problem.

    Blueprints.

    Discussion.

    Example.

      Use Case: Compile Source Code.

    Analysis Model.

V. COMMON MISTAKES.

37. Mistake: Alternative Flow as Extension.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

38. Mistake: Business Use Case.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

39. Mistake: Communicating Use Cases.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

40. Mistake: Functional Decomposition.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

41. Mistake: Micro Use Cases.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

42. Mistake: Mix of Abstraction Levels.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

43. Mistake: Multiple Business Values.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

44. Mistake: Security Levels with Actors.

    Fault.

    Incorrect Model.

    Discussion.

    Way Out.

Glossary.

References.

Index.

商品描述(中文翻譯)

描述:

「Gunnar 和 Karin 不僅定義了一大批用例模式和具體用法如何在用例模型中建模的範例,他們還提供了用例建模中所使用的構造的準確、完整且易於理解的描述……我對這本書印象深刻。」
— 來自 Ivar Jacobson 的前言

利用經過驗證的設計模式概念來構建更準確、可用且可維護的用例模型

本書匯集了數十種經過驗證的模式,用於創建更準確反映實際需求的用例,這些用例更容易轉換為可運行的系統,並且更簡單維護。利用這些模式,架構師、分析師、工程師和管理者可以利用數十年的辛勤知識來更快地實現更好的結果。

作者仔細描述了每個模式的運作方式、旨在解決的問題以及使用它所帶來的後果。所有模式都附有詳細的範例和平台無關的類模型,展示了它們如何實現。所有構造和圖表均符合當前的 UML 2.0 標準。本書還包括一個深刻的用例入門,對於新手和希望提高效率的資深建模者來說都是不可或缺的。

內容涵蓋:

- 建模規則,導致更易理解、可維護和正確的模型
- 更有效地結構化、分層、映射、排序和查看用例的模式
- 安全性、舊系統整合、數據輸入/輸出、任務排程和報告的藍圖
- 構建用例,將必需元素與可以單獨交付的可選部分分開
- 在用例建模中納入業務規則
- 更有效地記錄用例的實用技術
- 何時一起使用多個模式和藍圖
- 識別和避免用例建模中的八個常見錯誤:設計者和審查者的指導
- 來自各種應用領域的範例

依賴這本書作為全球第一的可重用用例解決方案參考——並作為您所有用例建模項目的靈感催化劑。

目錄:

前言
序言
I. 介紹
1. 用例模式和藍圖
- 重用經驗
- 目錄內容
2. 在用例模型開發中使用模式和藍圖
- 網路銀行系統
- 模型的初稿
- 應用模式和藍圖
- 完整模型
- 總結
II. 用例
3. 用例建模:簡介
4. 用例
- 用例:提供價值的一種利用
- 系統的灰盒視圖
- 用例實例:特定的利用
- 基本流程和變化
- 無限大的模型?
5. 建模系統環境
- 角色:外部用戶
- 用例與角色之間的互動
6. 結構化用例模型
7. 包含:重用現有用例
- 包含關係
- 包含關係的文檔
- 對包含用例的依賴
8. 擴展:擴展現有用例
- 擴展關係
- 擴展關係的特徵
- 擴展點
- 條件擴展
- 擴展關係的文檔
- 擴展用例之間的依賴
9. 包含與擴展
10. 擴展和擴展點的更多內容
- 多個附加行為的片段
- 多次插入
- 擴展點的更多內容
11. 用例泛化:分類和繼承
- 用例之間的泛化
- 泛化關係的文檔
- 用例之間的泛化
12. 角色泛化:重疊角色
13. 描述用例
- 記錄用例
- 用例:訂單票
- 撰寫指南
- 用例描述的部分
14. 記錄用例模型
- 用例模型調查
- 用例圖
- 補充文件
15. 將用例映射到類
- 啟動類建模
- 分析模型和設計模型
- 分析類
- 用例實現:對象如何執行用例
III. 用例模式
16. 業務規則
- 意圖
- 模式
- 討論
- 範例
- 用例:創建運送訂單
- 業務規則
- 分析模型
17. 共通性