[.] DejaVU Online: -- The OO Lectures
[.] - [up] [top] - [I] [II] [III] [IV] - [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] - [A] [R]

Motivation


Take for example a document processing system ...


slide: Document processing


Managing composites

Problem: very many items

Solution: flyweight class


slide: Composite ...



slide: Composite


Managing layout and formatting

Problem: many algorithms

Solution: composer (strategy) class


slide: Strategy ...



slide: Strategy


Display item with attributes

Problem: non-uniform attributes

Solution: embed and hide attributes


slide: Decorate ...



slide: Decorator


Develop multi-platform tools (1)

Problem: different window toolkits

Solution: employ platform-specific factories


slide: Factory ...



slide: Factory


Develop multi-platform tools (2)

Problem: offer uniform widget hierarchy

Solution: separate interface from implementation


slide: Bridge ...



slide: Bridge


Provide rich functionality

Problem: support commands with undo

Solution: abstract from specific commands


slide: Command ...



slide: Command


[.] - [up] [top] - [I] [II] [III] [IV] - [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] - [A] [R]
Hush Online Technology
hush@cs.vu.nl
02/15/00