Thursday, May 18, 2006

30 March 2006

How many Behavior Patterns

Reference:
www.tml.tkk.fi/~pnr/GoF-models/html

State Pattern

One class changed 3 objects/ positions
Physical state changes
Someone changes his/ her behavior.

Strategy Pattern

Change strategy according to plan.
All plans one output the same

Template Method

Slightly equal to prototype (Creational)
You can modify in this area.

Visitor

Without changing the task of particular object.
The object do different tasks.
Getting into the object

No comments: