transitional page

16
Transition al Page

Upload: conan

Post on 23-Feb-2016

50 views

Category:

Documents


0 download

DESCRIPTION

Transitional Page. Title: PATTERNS DESIGN. Design by: Zahid Iqbal . Definition:. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Transitional  Page

Transitional Page

Page 2: Transitional  Page

Title:PATTERNS DESIGN Design by:

Zahid Iqbal

Page 3: Transitional  Page

“ Each pattern describes a problem which occurs over and over again in our averment, and then describes the core of the solution to that problem in such a way that you can use this solution a million times over without ever doing it the same way twice.”

Definition:

Page 4: Transitional  Page

“Description of communicating objects and classes that are customized to solve a general design in a particular context [GOF].”

Definition2:

Page 5: Transitional  Page

1979 - Alexander's timeless way of building 1987 - OOPSLA workshop by beck and ward 1995 - GOF ( Gamma, helm, Johnson, vlissides) - Design patterns ; Elements of reusable object- oriented software.

Historical perspective:

Page 6: Transitional  Page

- STL (c++ template library)- Algorithms and data structure .- Object oriented analysis patterns [peter Coad]- Software idioms [coplien]- Antipatterns [brown]

Software patterns:

Page 7: Transitional  Page

-Framework is a set of cooperative classes that makes up reusable design of a system.-Framework dictates the architecture of the software.

Frameworks:

Page 8: Transitional  Page

Design patterns follow a certain structure (some or all).- Pattern name (and category)- Intent- Motivation- Applicability- Structure- Participants- Consequences

Design patterns:

Page 9: Transitional  Page

- Implementation- Known uses- Related patterns

Design patterns:

Page 10: Transitional  Page

Name - Meaningful phraseProblem - A statement of the problem which describes its intent ; the goals of objectives it wants to reach with in the given context and forces.

Design patterns:

Page 11: Transitional  Page

Context -preconditions under which the problem and its solution seem to occur - the patterns applicability - May change over time.

Motivation:

Page 12: Transitional  Page

- Static and dynamic relationship describing how to realize the pattern

- Instruction how to construct the work products - Picture diagram prose which highlight the pattern

structure participants and collaboration

solution

Page 13: Transitional  Page

- One or more samples application to illustrate.• A specific context• How the pattern is applied Resulting context - the state or configuration after the pattern has been applied.- Consequences (good or bad) of the pattern

Example:

Page 14: Transitional  Page

- Justification of the steps or rules in the patterns - How and why it resolves the forces to achieves the

desired goals principles and philosophies - How are he forces orchestrated to achieve

harmony- How does the pattern work

Rationale

Page 15: Transitional  Page

- The static and dynamic relationships between this

patterns and other patterns known uses- To demonstrate that this is proven solution to a

recurring problem.

Related patterns

Page 16: Transitional  Page

Thanks???