fa·çade
also fa·cade
(f![]() ![]() n.
[French, from Italian facciata,
from faccia,
face,
from Vulgar Latin *facia,
from Latin faci |
|
Purpose |
An articulation point allows 1 endpoint to move (i.e., interface to change) without forcing another endpoint to move. For example, your elbow is an articulation point; it allows you to move your hand without moving your upper arm. A facade is an adaptor or bridge when:
Proxy: we may want to decouple a service's client interface from the service's actual API. |
Structure | ![]() |
Consequences | The articulation point is an extra class. If B's interface is stable & simple, then A is extra baggage. |
Implementation |
|
Sample Code |
|
Related Patterns | Bridge, Adapter |