Monthly Archives: February 2013

Decorator and Proxy patterns

Both Decorator and Proxy patterns and delegates some object method execution.

But the difference is Decorator doesn’t require a source object while creating and encapsulates object creating.

Other side, Proxy pattern which take an object as input parameter and exec method of it later.