Aspect-Oriented Software Development with Use Cases
暫譯: 以用例為基礎的面向切面軟體開發
Ivar Jacobson, Pan-Wei Ng
- 出版商: Addison Wesley
- 出版日期: 2005-01-09
- 售價: $2,370
- 貴賓價: 9.5 折 $2,252
- 語言: 英文
- 頁數: 464
- 裝訂: Paperback
- ISBN: 0321268881
- ISBN-13: 9780321268884
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,176Database Management Systems, 3/e (IE-Paperback)
-
$690$587 -
$590$466 -
$420$332 -
$280$266 -
$750$638 -
$560$476 -
$850$723 -
$750$593 -
$780$616 -
$780$663 -
$490$382 -
$690$538 -
$620$490 -
$990$782 -
$650$507 -
$450$383 -
$520$406 -
$590$460 -
$580$452 -
$620$527 -
$880$748 -
$880$695 -
$650$507 -
$480$456
相關主題
商品描述
Description:
“A refreshingly new approach toward improving use-case modeling by fortifying it with aspect orientation.”
—Ramnivas Laddad, author of AspectJ in Action“Since the 1980s, use cases have been a way to bring users into software design, but translating use cases into software has been an art, at best, because user goods often don’t respect code boundaries. Now that aspect-oriented programming (AOP) can express crosscutting concerns directly in code, the man who developed use cases has proposed step-by-step methods for recognizing crosscutting concerns in use cases and writing the code in separate modules. If these methods are at all fruitful in your design and development practice, they will make a big difference in software quality for developers and users alike.
—Wes Isberg, AspectJ team member“This book not only provides ideas and examples of what aspect-oriented software development is but how it can be utilized in a real development project.”
—MichaelWard, ThoughtWorks, Inc.“No system has ever been designed from scratch perfectly; every system is composed of features layered in top of features that accumulate over time. Conventional design techniques do not handle this well, and over time the integrity of most systems degrades as a result. For the first time, here is a set of techniques that facilitates composition of behavior that not only allows systems to be defined in terms of layered functionality but composition is at the very heart of the approach. This book is an important advance in modern methodology and is certain to influence the direction of software engineering in the next decade, just as Object-Oriented Software Engineering influenced the last.”
—Kurt Bittner, IBM Corporation“Use cases are an excellent means to capture system requirements and drive a user-centric view of system development and testing. This book offers a comprehensive guide on explicit use-case-driven development from early requirements modeling to design and implementation. It provides a simple yet rich set of guidelines to realize use-case models using aspect-oriented design and programming. It is a valuable resource to researchers and practitioners alike.”
—Dr. Awais Rashid, Lancaster University, U.K., and author of Aspect-Oriented Database Systems“AOSD is important technology that will help developers produce better systems. Unfortunately, it has not been obvious how to integrate AOSD across a project’s lifecycle. This book shatters that barrier, providing concrete examples on how to use AOSD from requirements analysis through testing.”
—Charles B. Haley, research fellow, The Open University, U.K.Aspect-oriented programming (AOP) is a revolutionary new way to think about software engineering. AOP was introduced to address crosscutting concerns such as security, logging, persistence, debugging, tracing, distribution, performance monitoring, and exception handling in a more effective manner. Unlike conventional development techniques, which scatter the implementation of each concern into multiple classes, aspect-oriented programming localizes them.
Aspect-oriented software development (AOSD) uses this approach to create a better modularity for functional and nonfunctional requirements, platform specifics, and more, allowing you to build more understandable systems that are easier to configure and extend to meet the evolving needs of stakeholders.
In this highly anticipated new book, Ivar Jacobson and Pan-Wei Ng demonstrate how to apply use cases—a mature and systematic approach to focusing on stakeholder concerns—and aspect-orientation in building robust and extensible systems. Throughout the book, the authors employ a single, real-world example of a hotel management information system to make the described theories and practices concrete and understandable.
The authors show how to identify, design, implement, test, and refactor use-case modules, as well as extend them. They also demonstrate how to design use-case modules with the Unified Modeling Language (UML)—emphasizing enhancements made in UML 2.0—and how to achieve use-case modularity using aspect technologies, notably AspectJ.
Key topics include
- Making the case for use cases and aspects
- Capturing and modeling concerns with use cases
- Keeping concerns separate with use-case modules
- Modeling use-cases slices and aspects using the newest extensions to the UML notation
- Applying use cases and aspects in projects
Whatever your level of experience with aspect-oriented programming, Aspect-Oriented Software Development with Use Cases will teach you how to develop better software by embracing the paradigm shift to AOSD.
Table of Contents:
Preface.
Acknowledgments.
I. THE CASE FOR USE CASES AND ASPECTS.
1. Problem to Attack.
The Use of Components Today.
Limitation of Components.
Approaching a Solution.
Keeping Concerns Separate.
2. Attacking the Problem with Aspects.
Approaching a Solution with Aspects.
Keeping Peers Separate with Aspects.
Keeping Extensions Separate with Aspects.
Need for Methodological Guidance.
3. Today with Use Cases.
Use Cases in Brief.
Use-Case-Driven Development.
Roles and Benefits of Use Cases.
Gaps in the Use-Case Technique.
Bridging the Gaps with Aspects.
4. Tomorrow with Use-Case Modules.
Building Systems in Overlays with Use-Case Slices.
Keeping Peer Use Cases Separate.
Keeping Extension Use Cases Separate.
Developing with Use-Case Modules.
II. MODELING AND CAPTURING CONCERNS WITH USE CASES.
5. Modeling Concerns with Use Cases.
Use-Case Modeling.
Use-Case Instances and Flows of Events.
Describing Use Cases.
Visualizing Use-Case Flows.
Summary and Highlights.
6. Structuring Use Cases.
Use-Case Relationships.
Use-Case Extend Relationship.
Use-Case Include Relationship.
Use-Case Generalization.
Utility Use Cases.
Summary and Highlights.
7. Capturing Concerns with Use Cases.
Understanding Stakeholder Concerns.
Capturing Application Use Cases.
Capturing Infrastructure Use Cases.
Summary and Highlights.
III. KEEPING CONCERNS SEPARATE WITH USE-CASE MODULES.
8. Keeping Peer Use-Case Realizations Separate with Aspects.
Realizing Peer Use Cases.
Keeping Use-Case Specifics Separate.
Dealing with Overlap.
Summary and Highlights.
9. Keeping Extensions Separate with Pointcuts.
Realizing Extension Use Cases.
Keeping Modularity of Extension Use-Case Realizations.
Parameterizing Pointcuts.
Generalizing Extension Use-Case Realizations.
Templating Use-Case Slices.
Summary and Highlights.
10. Building Systems with Use-Case Modules.
A System Comprises Models.
Use-Case Model.
Analysis Model.
Design and Implementation Models.
Use-Case Modules Cut Across Models.
Composing and Configuring Use-Case Modules.
Summary and Highlights.
IV. ESTABLISHING AN ARCHITECTURE BASED ON USE CASES AND ASPECTS.
11. Road to a Resilient Architecture.
What Is Architecture?
What Is a Good Architecture?
Steps to Establish an Architecture Baseline.
Begin with a Platform-Independent Structure.
Overlay Platform Specifics on Top.
Summary and Highlights.
12. Separating Functional Requirements with Application Peer Use Cases.
Analyzing Application Use Cases.
Keeping Application Use Cases Separate.
Designing Application Use Cases.
Refining Design Elements.
Summary and Highlights.
13. Separating Functional Requirements with Application-Extension Use Cases.
Analyzing Application-Extension Use Cases.
Keeping Application-Extension Use Cases Separate.
Designing Application-Extension Use Cases.
Dealing with Changes in the Base.
Summary and Highlights.
14. Separating Nonfunctional Requirements with Infrastructure Use Cases.
Analyzing an Infrastructure Use Case.
Keeping Infrastructure Use Cases Separate.
Designing Infrastructure Use Cases.
Dealing with Multiple Infrastructure Use Cases.
Summary and Highlights.
15. Separating Platform Specifics with Platform-Specific Use-Case Slices.
Keeping Platform Specifics Separate.
Overlaying User Interfaces.
Overlaying Distribution.
Overlaying Persistency.
Preserving the Use-Case Structure.
Summary and Highlights.
16. Separating Tests with Use-Case Test Slices.
Test-First Approach.
Identifying Test Cases from Use Cases.
Identifying Elements to Be Tested.
Designing and Implementing Tests.
Summary and Highlights.
17. Evaluating the Architecture.
Putting It Together.
Evaluating Separation of Concerns.
Evaluating and Achieving Systemwide Concerns.
Summary and Highlights.
18. Describing the Architecture.
Architecture Description Comprises Architectural Views.
Architectural View of the Use-Case Model.
Architectural View of the Analysis Model.
Architectural View of the Design Model.
Summary and Highlights.
V. APPLYING USE CASES AND ASPECTS IN A PROJECT.
19. Running a Project.
Iterative Development.
Estimating Development Effort.
Planning and Controlling the Project.
Productivity Gains by Keeping Concerns Separate.
Summary and Highlights.
20. Tailoring the Approach.
Achieving the Right Balance.
Selecting Disciplines to Apply.
Adopting at Different Phases of a Project.
Summary and Highlights.
21. Aspects and Beyond.
Building a System in Extensions.
Balancing Best Practices.
The Road Ahead.
Appendix A. Modeling Aspects and Use-Case Slices in UML.
Appendix B. Notation Guide.
References.
Glossary.
Index.
商品描述(中文翻譯)
**描述:**
「一種令人耳目一新的方法,通過強化用例建模來改善其效果,並結合面向方面的編程。」
— **Ramnivas Laddad,** 《AspectJ in Action》的作者
「自1980年代以來,用例一直是將用戶納入軟體設計的一種方式,但將用例轉換為軟體至多是一種藝術,因為用戶需求往往不遵循代碼邊界。現在,面向方面的編程(AOP)可以直接在代碼中表達橫切關注點,開發用例的人提出了逐步的方法來識別用例中的橫切關注點並將代碼寫入獨立模組。如果這些方法在您的設計和開發實踐中有任何成效,它們將對開發者和用戶的軟體質量產生重大影響。」
— **Wes Isberg,** AspectJ 團隊成員
「這本書不僅提供了面向方面的軟體開發的想法和範例,還展示了如何在實際開發項目中利用它。」
— **Michael Ward,** ThoughtWorks, Inc.
「沒有任何系統是從零開始完美設計的;每個系統都是由隨時間累積的功能層疊而成。傳統的設計技術無法很好地處理這一點,隨著時間的推移,大多數系統的完整性因此而下降。這是第一次出現一套技術,促進行為的組合,不僅允許系統以分層功能的方式定義,組合也是這種方法的核心。這本書是現代方法論的一個重要進展,必將影響未來十年軟體工程的方向,就像面向對象的軟體工程影響了過去一樣。」
— **Kurt Bittner,** IBM Corporation
「用例是捕捉系統需求和推動以用戶為中心的系統開發和測試的絕佳手段。這本書提供了一個全面的指南,涵蓋從早期需求建模到設計和實施的明確用例驅動開發。它提供了一套簡單而豐富的指導方針,以利用面向方面的設計和編程來實現用例模型。對於研究人員和實踐者來說,這是一本寶貴的資源。」
— **Dr. Awais Rashid,** 英國蘭卡斯特大學,並且是《Aspect-Oriented Database Systems》的作者
「AOSD 是一項重要技術,將幫助開發者產出更好的系統。不幸的是,如何在項目的生命周期中整合 AOSD 並不明顯。這本書打破了這一障礙,提供了從需求分析到測試的具體範例,說明如何使用 AOSD。」
— **Charles B. Haley,** 英國開放大學研究員
面向方面的編程(AOP)是一種革命性的思維方式,重新定義了軟體工程。AOP 的引入旨在以更有效的方式處理橫切關注點,例如安全性、日誌記錄、持久性、除錯、追蹤、分佈、性能監控和異常處理。與傳統開發技術不同,後者將每個關注點的實現分散到多個類中,面向方面的編程則將其本地化。
面向方面的軟體開發(AOSD)利用這一方法來創建更好的模組化,適用於功能性和非功能性需求、平台特定需求等,使您能夠構建更易於理解的系統,並更容易配置和擴展以滿足利益相關者不斷演變的需求。
在這本備受期待的新書中,Ivar Jacobson 和 Pan-Wei Ng 展示了如何將用例——一種成熟且系統化的方法,專注於利益相關者的關注——與面向方面的編程結合,來構建穩健且可擴展的系統。在整本書中,作者使用一個實際的酒店管理資訊系統作為單一範例,使所描述的理論和實踐具體且易於理解。
作者展示了如何識別、設計、實施、測試和重構用例模組,以及如何擴展它們。他們還演示了如何使用統一建模語言(UML)設計用例模組——強調 UML 2.0 中的增強功能——以及如何利用面向方面的技術,特別是 AspectJ,來實現用例模組化。
主要主題包括:
- 為用例和方面辯護
- 使用用例捕捉和建模關注點
- 通過用例模組保持關注點的分離
- 使用最新的 UML 符號擴展建模用例切片和方面
- 在項目中應用用例和方面
無論您對面向方面的編程的經驗如何,**《使用用例的面向方面軟體開發》**將教您如何通過接受 AOSD 的範式轉變來開發更好的軟體。
**目錄:**
**前言。**
**致謝。**
**I. 用例和方面的案例。**
1. 攻擊的問題。
- 當今組件的使用。
- 組件的限制。
- 接近解決方案。
- 保持關注點的分離。
2. 用方面攻擊問題。
- 使用方面接近解決方案。
- 用方面保持同儕的分離。
- 用方面保持擴展的分離。
- 方法論指導的需求。
3. 當今的用例。
- 用例簡介。
- 用例驅動開發。
- 用例的角色和好處。
- 用例技術中的差距。
- 用方面彌補差距。
4. 明天的用例模組。
- 使用用例切片在重疊中構建系統。
- 保持同儕用例的分離。
- 保持擴展用例的分離。
- 使用用例模組進行開發。
**II. 使用用例建模和捕捉關注點。**
5. 使用用例建模關注點。
- 用例建模。
- 用例實例和事件流。
- 描述用例。
- 可視化用例流。
- 總結和重點。
6. 結構化用例。
- 用例關係。
- 用例擴展關係。
- 用例包含關係。
- 用例泛化。
- 實用用例。