Tag Archives: design pattern
Facade Pattern
This is an example based on the Home Theatre scenario in the Head First Design Patterns book. View working example (view source enabled)
Posted in Design Patterns
Tagged design pattern, example, flex, head first, pattern, remote control
Leave a comment
Singleton Pattern
The one of a kind Singleton pattern divides opinion like Marmite. This example is based on the use case of a boiler in a chocolate factory. View working example (view source enabled)
Posted in Design Patterns
Tagged chocolate, chocolate boiler, design pattern, flex, head first, pattern, singleton, singleton pattern
Leave a comment
Decorator Pattern
An adaptation of the Starbuzz Coffee Decorator Pattern featured in the Head First Design Patterns book. View working example (view source enabled)
Posted in Design Patterns
Tagged coffee, decorator, decorator pattern, design pattern, flex, head first, pattern, starbuzz coffee
Leave a comment
Command Pattern
Based on the Remote Control example featured in the Head First Design Patterns book. View working example (view source enabled)
Posted in Design Patterns
Tagged command, command pattern, design pattern, flex, head first, remote control
Leave a comment
Factory Method Pattern
View working example (view source enabled)
Posted in Design Patterns
Tagged design pattern, factory, factory method, factory pattern, flex, head first, pattern, pizza
Leave a comment