Thứ Hai, 24 tháng 2, 2014

Tài liệu Less05- Identify Design Mechanisms doc

5
Rational
Proprietary and
Confidential
Identify Design Mechanisms: Steps

Categorize clients of analysis mechanisms
Categorize clients of analysis mechanisms

Document architectural mechanisms
Document architectural mechanisms
6
Rational
Proprietary and
Confidential
Identify Design Mechanisms: Steps

Categorize clients of analysis mechanisms
Categorize clients of analysis mechanisms

Document architectural mechanisms
Document architectural mechanisms
7
Rational
Proprietary and
Confidential
Identify Design Mechanisms: Steps

Pattern
Pattern

A common solution to a common problem in a context

Analysis/Design Pattern
Analysis/Design Pattern

A solution to a narrowly-scope technical problem

A fragment of a solution, or a piece of the puzzle

Framework
Framework

Defines the general approach to solving the problem

Skeletal solution, whose details may be analysis/design patterns
8
Rational
Proprietary and
Confidential
What Is A Design Pattern
A design pattern provides a scheme for refining the subsystems
A design pattern provides a scheme for refining the subsystems
or components of a software system, or the relationships
or components of a software system, or the relationships
between them. It describes a commonly-recurring structure
between them. It describes a commonly-recurring structure
of communicating components that solves a general design
of communicating components that solves a general design
problem with a particular context.
problem with a particular context.
-
-
Erich Gamma, Richard Helm, Ralph Johnson and John
Erich Gamma, Richard Helm, Ralph Johnson and John




Vlissides 1994.“Design Patterns – Elements of Reusable Object-Oriented
Vlissides 1994.“Design Patterns – Elements of Reusable Object-Oriented
Software”
Software”
9
Rational
Proprietary and
Confidential
Review: Why Use Analysis Mechanisms?
Oh no! I found a group of classes that has
persistent data. How am I supposes to
design these things if I don’t even know
what database we are going to be using?
That is why we have a persistence analysis
mechanism. We don’t know enough yet,
so we can bookmark it and come back to it
later
Analysis mechanisms are used during analysis to reduce the complexity of
analysis, and to improve its consistency by providing designers with a
short-hand representation for complex behavior.
10
Rational
Proprietary and
Confidential
Categorize Analysis Mechanisms

Purpose
Purpose

To refine the information gathered on the analysis mechanisms

Steps
Steps

Identify the clients of each analysis mechanism

Identify characteristic profiles for each analysis mechanism

Group clients according to their use of characteristic profiles

Proceed bottom-up and make an inventory of the implementation mechanisms that you
have at your disposal
11
Rational
Proprietary and
Confidential
Identify Design Mechanisms: Steps

Categorize clients of analysis mechanisms
Categorize clients of analysis mechanisms

Documentation architectural mechanisms
Documentation architectural mechanisms
12
Rational
Proprietary and
Confidential
Design and Implementation Mechanisms
Analysis Design Implementation
Remote Method
Invocation (RMI)
Persistency
Analysis
Mechanism
(Conceptual)
Design
Mechanism
(Concrete)
Implementation
Mechanism
(Actual)
OODBMS
RDBMS JDBC
ObjectStore
Java 1.2 from Sun
Legacy Data
New Data
Distribution
Persistency
13
Rational
Proprietary and
Confidential

Architectural Mechanisms can be treated as patterns (i.e.,
Architectural Mechanisms can be treated as patterns (i.e.,
stereotyped parameterized collaboration)
stereotyped parameterized collaboration)
Review: Documenting Architectural Mechanisms
Structural Aspect
Behavioral Aspect
Pattern Name
Template
Parameters
Documented in Design Guidelines
14
Rational
Proprietary and
Confidential
Review: Course Registration Analysis Mechanisms

Persistence
Persistence

Distribution
Distribution

Security
Security

Legacy Interface
Legacy Interface

Không có nhận xét nào:

Đăng nhận xét