FACADE and WRAPPER
Encapsulates the functions and data provided by existing non Object Oriented
API within a more concise, robust, maintainable and cohesive Object Oriented
class interface.
It is useful to
- provide a simple interface to a complex system;
- decouple a subsystem from its client;
- provide an interface to s software layer;
The Facade is similar to the Wrapper. For the former the underlying subsystem
is a stuctured system with Object-Oriented design. For the latter it is
usually a C library or set of APIs.
See also:
Understanding the Facade pattern,
by A. Shalloway, J. Trott, 2004.