In most of the Pizza centers, orders will be given through
phone calls with the customer interacting with the Customer service
representative. In this case, consumers do not have access to the Billing
system, Kitchen and delivery department. The customer service representative
acts as an interface and interacts with each of the departments involved in the
transaction and ensures that Pizzas are delivered to the consumer.
Figure 1
We can relate this non-software example against the facade
design pattern in the following way:
- Customer Service representative corresponds to the facade.
- Individual departments involved in the transaction
correspond to Sub-systems.
Another example we can consider is Emergency services. In
the event of fire we just inform an Emergency Service operator. The emergency
operator interacts with police, ambulance and fire services and dispatches
them. Here the client is shielded from individual emergency services.