1 / 16

Transitional Page

Transitional Page. Title: PATTERNS DESIGN. Design by: Zahid Iqbal . Definition:.

conan
Download Presentation

Transitional Page

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Transitional Page

  2. Title: PATTERNS DESIGN Design by: Zahid Iqbal

  3. Definition: • “ 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.”

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

  5. Historical perspective: • 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.

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

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

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

  9. Design patterns: • Implementation • Known uses • Related patterns

  10. Design patterns: • Name • - Meaningful phrase • Problem • - A statement of the problem which describes its intent ; the goals of objectives it wants to reach with in the given context and forces.

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

  12. solution • 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

  13. Example: • 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

  14. Rationale • 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

  15. Related patterns • The static and dynamic relationships between this patterns and other patterns known uses • To demonstrate that this is proven solution to a recurring problem.

  16. Thanks???

More Related