topical media & game development
pattern(s)
/ matrix
/ model(s)
/ resource(s)
design pattern(s) -- catalogue
- a common design vocabulary
- documentation and learning aid
- an adjunct to existing methods
- a target for redesign
see the
GOF Design Patterns
and the Patterns Homepage

the pattern schema

structure
name - handle
- increases design vocabulary
problem - when to apply
- explains the problem and the conflict
solution - general arrangement
- design, responsibilities, collaborations
consequences - tradeoffs
- to understand the costs and benefits

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

kinds of patterns
- creational patterns -- factory, singleton, ...
- structural patterns -- adaptor, composite, bridge, ...
- behavioral patterns -- mediator, observer, command, ...
see also
see UML

(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.