Skip to content

Design patterns

by Vaibhav Aggarwal on February 17th, 2012

Adapter pattern

An adapter patter is a pattern that exports a different interface of an object than the original object implementation. It allows an object to become compatible to a different interface expected by the calling object.

Proxy pattern

A proxy pattern is used to control access to a particular object, delegate the call to remote methods from the client which is seamless to the calling object, and do lazy loading.

Decorator pattern

A decorator pattern is used to add functionality to an object like providing more logging information for each method or collecting metrics.

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS