Methods do not provide the intuiton and the direct access
to solutions that work in real life.
Design Patterns
are the jewels, the cristals of Object Oriented Design ...
one-to-many dependencies and notification draft version 0.1 (15/7/2001) Motivation
Take for example a document processing system ...
Managing composites
Problem: very many items
Solution: flyweight class
Managing layout and formatting
Problem: many algorithms
Solution: composer (strategy) class
Display item with attributes
Problem: non-uniform attributes
Solution: embed and hide attributes
Develop multi-platform tools (1)
Problem: different window toolkits
Solution: employ platform-specific factories
Develop multi-platform tools (2)
Problem: offer uniform widget hierarchy
Solution: separate interface from implementation
Provide rich functionality
Problem: support commands with undo
Solution: abstract from specific commands
observer
Observer
Consequences
Implementation
[]
readme
course
preface
1
2
3
4
5
6
7
8
9
10
11
12
appendix
lectures
resources
eliens@cs.vu.nl