Das Facade-Pattern bietet eine vereinfachte Schnittstelle zu einem komplexen Subsystem — es verbirgt dessen Komplexität hinter einem einzigen, sauberen Einstiegspunkt. Es macht eine komplizierte Menge von Komponenten leichter zu verwenden, ohne den Zugriff auf die zugrunde liegenden Details zu entfernen.
Was das Facade-Pattern tut
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
