Học phân tích và thiết hế hệ thống rất hay

Chia sẻ bởi Trần Văn Bình | Ngày 14/10/2018 | 32

Chia sẻ tài liệu: học phân tích và thiết hế hệ thống rất hay thuộc Tư liệu tham khảo

Nội dung tài liệu:























UML Applied
Object Oriented Analysis and Design Using the UML




A Course Companion

2

UML Applied - Object Oriented Analysis and Design using the UML





Authors and Contacts



Please contact [email protected], or see the website at
www.ariadnetraining.co.uk for further details about Ariadne’s supporting
training courses. Comments and feedback are welcome.



















































ã2001 Ariadne Training Limited www.ariadnetraining.co.uk

3

UML Applied - Object Oriented Analysis and Design using the UML




Contents


AN INTRODUCTION TO THE UML

What is the UML?
A Common Language
Summary

THE UML WITHIN A DEVELOPMENT PROCESS

The UML as a Notation
The Waterfall Model
The Spiral Model
Iterative, Incremental Frameworks
Inception


7

7
7
9

10

10
10
12
13
13
Elaboration 14
Construction 14
Transition
How Many Iterations? How Long Should They Be?
Time Boxing
Typical Project Timings
The Rational Unified Process
Summary

OBJECT ORIENTATION

Structured Programming
The Object Orientated Approach
15
15
16
16
17
18

19

19
22
Encapsulation 23
Objects
Terminology
The Object Oriented Strategy
Summary

AN OVERVIEW OF THE UML

The Use Case Diagram
The Class Diagram
Collaboration Diagrams
Sequence Diagram
State Diagrams
Package Diagrams
Component Diagrams
Deployment Diagrams
Summary

THE INCEPTION PHASE


ã2001 Ariadne Training Limited www.ariadnetraining.co.uk
23
24
24
25

26

27
28
29
30
31
32
33
34
34

35

4

UML Applied - Object Oriented Analysis and Design using the UML
THE ELABORATION PHASE
37

Deliverables 37
Summary

USE CASE MODELLING

Actors
The Purpose of Use Cases
Use Case Granularity
Use Case Descriptions
Use Cases at the Elaboration Phase
Finding Use Cases
Joint Requirements Planning Workshops (JRP)
Brainstorming Advice
Summary

CONCEPTUAL MODELLING

Finding Concepts
Extracting Concepts From Requirements
The Conceptual Model in the UML
Finding Attributes
Guidelines for Finding Attributes
38

39

39
40
41
43
43
44
44
45
45

46

47
47
48
49
50
Associations 50
Possible Cardinalities
Building the Complete Model
Summary

RANKING USE CASES

Summary

THE CONSTRUCTION PHASE
51
51
53

54

55

56

Construction 56
Summary

THE CONSTRUCTION PHASE : ANALYSIS

Back to the Use Cases
57

58

58
1.
2.
3.
Pre-Conditions
Post Conditions
Main Flow
59
59
59
Alternate Flows
Exception Flows
The Complete Use Case
The UML Sequence Diagram
Summary



ã2001 Ariadne Training Limited www.ariadnetraining.co.uk
60
60
61
61
63

5

UML Applied - Object Oriented Analysis and Design using the UML
THE CONSTRUCTION PHASE : DESIGN

Design - Introduction
Collaboration of Objects in Real Life
Collaboration Diagrams
Collaboration Syntax : The Basics
Collaboration Diagrams : Looping
Collaboration Diagrams : Creating new objects
Message Numbering
Collaboration Diagrams : Worked Example
Some Guidelines For Collaboration Diagrams
Chapter Summary

DESIGN CLASS DIAGRAMS

Crediting and Debiting Accounts
Step 1 : Add Operations
Step 2 : Add Navigability
Step 3 : Enhance Attributes
Step 4 : Determine Visibility
Aggregation
64

64
65
66
66
68
68
68
69
72
73

74

74
75
75
75
76
76
Composition 77
Finding Aggregation and Composition
Summary

RESPONSIBILITY ASSIGNMENT PATTERNS

The GRASP Patterns
What is a pattern?
Grasp 1 : Expert
Grasp 2 : Creator
Grasp 3 : High Cohesion
Grasp 4 : Low Coupling
Grasp 5 : Controller
Summary

INHERITANCE

Inheritance – the basics
Inheritance is White Box Reuse
The 100% Rule
77
77

78

78
78
78
80
81
* Một số tài liệu cũ có thể bị lỗi font khi hiển thị do dùng bộ mã không phải Unikey ...

Người chia sẻ: Trần Văn Bình
Dung lượng: 218,00KB| Lượt tài: 0
Loại file: doc
Nguồn : Chưa rõ
(Tài liệu chưa được thẩm định)