Wednesday, July 30, 2008

façade pattern

Hiding the complex code behind a simple interface.

Think of using an electric toothbrush that has a simple on/off button on the plastic case and a complex motor/battery/charger functionality inside.


http://en.wikipedia.org/wiki/Facade_pattern