Facade-kuvio tarjoaa yksinkertaistetun rajapinnan monimutkaiselle alajärjestelmälle — piilottaen sen monimutkaisuuden yhden selkeän sisääntulopisteen takana. Se tekee monimutkaisen joukon komponentteja helpommin käytettäviksi poistamatta pääsyä taustalla oleviin yksityiskohtiin.
Mitä Facade-kuvio tekee
FACADE → a SIMPLE interface in front of a COMPLEX subsystem:
→ the subsystem has many components/steps; the facade provides ONE easy interface
→ clients use the simple facade instead of dealing with the complexity directly
→ the facade coordinates the underlying components
→ HIDE complexity behind a clean, easy-to-use interface
