-
Archives
Categories
- ant (1)
- Architecture (3)
- CSS (1)
- Java (2)
- XStream (1)
- One Minute (3)
- Patterns (1)
- Software Process (1)
- Wordpress (1)
Archive for the ‘Architecture’ Category
One Minute Patterns GOF State
Wednesday, March 23rd, 2011
Here's the somewhat maligned GOF State Pattern. This allows us to localise state specific behaviour into a single subclass for each state. The State interface defines the behaviour that each concrete State class must implement. Here's a simple example. (We're all familiar with traffic lights!) That's it! What a state! Got ...Posted in Architecture, GOF, One Minute, Patterns, Patterns | Comments Off on One Minute Patterns GOF State



