Monday, 7 November 2011

FACADE

Name : Facade Design Pattern(Structural pattern)

Intent : Provides a unified interface to a set of interfaces in a subsystem.

Facade defines a higher-level interface that makes the subsystem easier to use.

Wrap a complicated subsystem with a simpler interface.

Problem : A segment of the client community needs a simplified interface to the overall

functionality of a complex subsystem.

Discussion: Facade discusses encapsulating a complex subsystem within a single interface

object. This reduces the learning curve necessary to successfully leverage the

subsystem. It also promotes decoupling the subsystem from its potentially many

clients. On the other hand , if the Facade is the only access point for the subsystem,

it will limit the features and flexibility that users may need...

The Facade objest should be fairly simple facilitator. it should not become an all-

knowing object...






No comments:

Post a Comment