Skip to content
StackDecode
System Design
15. Software Design PatternsAnimated walkthrough

Facade Pattern

A simple front for a complex subsystem.

The idea

One class exposes a few easy methods and hides many moving parts.

Watch it work

The steps light up one at a time. Use the controls to pause or step through.

  1. 1Identify the subsystem
  2. 2Create the facade
  3. 3Clients call it
  4. 4It coordinates the parts
1/4

Step by step

  1. 1Identify the subsystem
  2. 2Create the facade
  3. 3Clients call it
  4. 4It coordinates the parts

Where it is used

Simplifying libraries.

Watch out for

A facade can become a god object.

Related