Monday, July 7th, 2008
OK, so lets start off with the GOF Decorator Pattern which allows us to extend functionality at runtime, without using inheritance. The Decorator object wraps the instance whose functionality it's enhancing, but implements the same interface as the original object. It delegates calls to the wrapped object, but ...