Object Oriented
Analysis & Design (OOAD)
Lawrence Chung Software Engineering: Introduction
2
Systems Engineering
Requirements Analysis
Project Planning
Architectural Design
Detailed Design
Implementation
Release
Maintenance
Q
u
a
l
i
t
y
A
s
s
u
r
a
n
c
e
Software Lifecycle Review
How to Do SE?
Các mô hình phát triển phần mềm
•
Mô hình tuyến tính: mô hình thác nước, mô
hình prototype
•
Mô hình vòng lặp
•
Mô hình tăng trưởng
Mô hình thác nước
Mô hình prototype
Mô hình vòng lặp
Mô hình tăng trưởng
Quy trình phát triển phần mềm
•
Phân tích tính khả thi của dự ánBản đề xuất
•
Phân tích và đặc tả yêu cầuBản đặc tả
•
Thiết kếTài liệu thiết kế
•
Viết mã chương trìnhMã nguồn
•
Kiểm thử phần mềmdanh sách lỗi
•
Triển khai, chạy thử và bảo trìbiên bản bàn
giao và phản hồi
9
RATIONAL UNIFIED PROCESS
Management
Environment
Business Modeling
Implementation
Test
Analysis & Design
Preliminary
Iteration(s)
Iter.
#1
Phases
Process Workflows
Iterations
Supporting Workflows
Iter.
#2
Iter.
#n
Iter.
#n+1
Iter.
#n+2
Iter.
#m
Iter.
#m+1
Deployment
Configuration Mgmt
Requirements
Elaboration TransitionInception Construction
time
c
o
n
t
e
n
t
07/06/13 10
Analysis and Design
•
Analysis
–
Captures requirements and
problem domain
–
What to do
–
Creates analysis models
•
Use case view
•
Static class view
•
Design
–
Makes strategic and
tactical decisions to meet
requirements
–
How to do it (above code
level)
–
Creates design models
•
Static class view
•
State machine view
•
Interaction view
OOA to OOD
O bjec t-
relatio n sh ip
m o d el
O bjec t-B e h avio r
M od e l
C R C
Index C ards
A ttribu tes, operation s,
collaborators
T H E A N A L Y S IS M O D E L
resp o n sib ilities
d e s ign
m e s s a g e
d e s ign
C la s s a n d o bje c t
d e s ign
s u bs ys te m
d e s ign
T H E D E S IG N M O D E L
U se cases