[.] DejaVU Online: -- The OO Lectures
[.] [up] introduction projects cases technology conclusions assignments material

Patterns


A Catalogue of Design patterns

see the GOF Design Patterns and the Patterns Homepage


slide: A Catalogue of Design patterns


The Pattern Schema

structure

Name - handle

Problem - when to apply

Solution - general arrangement

Consequences - tradeoffs


slide: The Pattern Schema


Causes for Redesign

design for change

  1. creating an object by specifying a class explicitly -- Abstract Factory, Factory Method, Prototype
  2. dependence on specific operations Chain of Responsibilty, Command
  3. dependence on hardware & software platforms -- Abstract Factory, bridge
  4. dependence on object implementation or representation Abstract Factory, Bridge, Memento, Proxy
  5. algorithm dependence -- Builder, Iterator, Strategy, Template Method, Visitor
  6. extending functionality by subclassing -- Bridge, Chain, Composite, Decorator, Observer
  7. tight coupling -- Abstract Factpry, Bridge, Chain of Responsibilities, Command, Facade, Mediator, Observer
  8. inability to alter classes conveniently -- Adaptor, Decorator, Visitor

slide: Causes for Redesign


Kinds of Patterns

see also

see UML


slide: Kinds of Patterns


[.] [up] introduction projects cases technology conclusions assignments material
Hush Online Technology
hush@cs.vu.nl
11/25/99