

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















(Part 1)
1
Sharif University of Technology
Software Development Methodologies – Lecture 3
2
Sharif University of Technology
[Coad and Yourdon 1991]
Software Development Methodologies – Lecture 3 Coad-Yourdon: Main Model^
OOA/OOD Results are reflected in a special
Class-&-Object
Diagram (later complemented by behavioural models); thediagram consists of five layers:diagram consists of five layers:
Subject
layer: showing the overall partitions of the system
Class-&-Object
layer: showing the abstract and concrete classes of
the system
Structure
layer: showing the generalization-specification and whole-
part relationships between the classes
Attribute
layer: showing the attributes of the classes and the
association relationships between classes.
Service
layer: showing the operations of the classes and the potential
message-passing between the objects
4
Sharif University of Technology
Software Development Methodologies – Lecture 3 Coad-Yourdon: Class-&-Object Diagram
5
Sharif University of Technology
[Coad and Yourdon 1989]
Software Development Methodologies – Lecture 3 Coad-Yourdon: Design Components
TMC
PDC
HIC
4
4
DMC
7
Sharif University of Technology
[Coad and Yourdon 1991]
Software Development Methodologies – Lecture 3
Introduced in 1990; a UML-based and use-case drivenversion was released in 2002.
T
he process starts when a detailed requirements specification of the system has already been provided.
The system is modeled as a collection of objects thatcollaborate to fulfill their
responsibilities
collaborate to fulfill their
responsibilities.
Responsibilities incl de t
o ke
items
Responsibilities
include two key items:
The knowledge an object maintains.
The actions an object can perform
8
Sharif University of Technology
The
actions an object can perform.
Software Development Methodologies – Lecture 3 RDD: Exploratory Phase^
The major tasks to be iteratively performed in this phase are:
Discovering the
classes required to model the application
Determining what behavior the system is responsible for and assign these
responsibilities
g
y^
p
g
p
to specific classes
Determining what
collaborations must occur between classes of objects to fulfill the
responsibilities.
Results are modeled in CRC (Class-Responsibility-Collaborator) cards CRC Card
10
Sharif University of Technology
[Wirfs-Brock et al. 1990]
Software Development Methodologies – Lecture 3 RDD: Analysis Phase^
Major tasks to be performed in this phase:
Factoring the responsibilities into inheritance hierarchiesmodeled in
Inheritance Graphs, and identifying class
t
t
contracts
Identifying possible subsystems of objects and modeling
Identifying possible subsystems of objects and modelingthem and their client-server relationships in
Collaboration
Graphs
Determining
Class Protocols (method signatures) and
completing a specification of classes, subsystems of
p
g
p
,^
y
classes, and client-server contracts
11
Sharif University of Technology
Software Development Methodologies – Lecture 3
Introduced, purely as a design method, in 1991 [Boo91];extended version, which also covered analysis, wasintroduced in 1994introduced in 1994.Process designed as a repeating process (referred to as “The
Process
designed as a repeating process (referred to as “The
Micro Process”) within a lifecycle-level repeating process(referred to as “The Macro Process”).(referred to as
The Macro Process ).
The macro process serves as a controlling framework for the
The macro process serves as a controlling framework for themicro process.
13
Sharif University of Technology
Software Development Methodologies – Lecture 3 Booch: Macro Process^
Represents the activities of the development team on the scale ofweeks to months.M
t^
f thi
b
i^
ft
t^
ti
any parts of this process are basic software management practices such as quality assurance, code walkthroughs, and documentation.
he focus at this level is more upon the customers and their desires for
p
things such as quality, completeness, and scheduling.
14
Sharif University of Technology
[Booch 1994]
Software Development Methodologies – Lecture 3
Introduced by Rumbaugh et al. in 1991
oduced by
u
baug
e
a
Categorized as
combinative [MP92], since it is based on three different
d l
d d fi
th d f
i t
ti
th
models and defines a method for integrating them.
Object Model (OM): depicts object classes in the system and their
Object Model (OM): depicts object classes in the system and theirrelationships, as well as their attributes and operations, in a
Class
DiagramD
i^
M d l (DM)
i di
t^
th
d
i^
f th
bj
t^
th i
D
ynamic Model (DM): indicates the dynamics of the objects, their changes in state and the flow of events; captured in
Event-Trace
Diagrams and
State Transition Diagrams (State Charts)
Functional Model (FM): a hierarchical set of
Data Flow Diagrams (DFDs)
of the system
16
Sharif University of Technology
Software Development Methodologies – Lecture 3 OMT Process
17
Sharif University of Technology
[Rumbaugh et al. 1991]
Software Development Methodologies – Lecture 3 OMT Process: Analysis Phase
Class Diagram
19
Sharif University of Technology
[Rumbaugh et al. 1991]
Software Development Methodologies – Lecture 3 OMT Process: Analysis Phase
Event-Trace Diagram
20
Sharif University of Technology
[Rumbaugh et al. 1991]