CPSC 421 OOP Facade Design Pattern

  1. 3. Usually, only one Facade object is required, and Facade objects are often _____
  2. 8. The subsystem classes are not _____ as part of the pattern since they do not know about the pattern
  3. 9. The Facade forwards the requests to the _____ subsystem objects
  4. 10. The role of _____ is to know which subsystem classes are responsible for a request and delegates client requests to appropriate subsystem objects
  5. 14. The Facade reduces the need for _____
  6. 15. The Facade _____ clients from subsystem components, reducing the number of objects that clients deal with and making the subsystem easier to use
  7. 17. Converts client requests into _____ class requests
  8. 19. The Facade allows a choice between ease of use and _____
  9. 20. Most patterns result in more and _____ classes
  10. 25. Often the first step towards _____/major changes to a class with the “wrong” interface
  11. 26. Facade defines a higher-level _____ that makes the subsystem easier to use
  12. 27. In the Motivation, the class _____ is in the role of the Facade
  13. 30. Subsystem objects perform the _____ _____
  14. 31. As opposed to the _____ Pattern, a facade merely abstracts the interface to subsystem objects to make them easier to use
  1. 1. The Facade promotes _____ _____ between the client and the subsystems
  2. 2. The _____ Factory Pattern is used with Facade to provide an interface for creating subsystem objects and is an alternative to Facade to hide platform-specific classes
  3. 4. Facade provides a simple _____ _____ of the subsystem that is good enough for most clients
  4. 5. Allows a current class to be used by client code expecting a _____ interface
  5. 6. Clients communicate with the subsystem by sending _____ to Facade
  6. 7. Facade is a _____ Pattern
  7. 11. Clients that use the Facade don’t have to access its subsystem objects _____ but can if needed
  8. 12. Subsystems are more reusable and easier to _____ but also harder to use for clients that don’t need customization
  9. 13. Subsystems often get more _____ as they evolve
  10. 16. The Facade _____ the subsystem from clients and other subsystems, thereby promoting subsystem independence and portability
  11. 18. The _____ classes handle work assigned by the Facade object but do not know about the Facade and keep no references or pointers to the Facade
  12. 21. May add _____ missing in the target class
  13. 22. The Facade simplifies _____ to other platforms
  14. 23. In the Compiler example, the class _____ is in the role of a Facade
  15. 24. The first class used in the implementation of the Compiler example that is a subsystem that doesn’t know it is in a Facade is the class _____
  16. 28. The _____ Pattern provides a unified interface to a set of interfaces in a subsystem
  17. 29. In the Known Uses example, the class _____ is in the role of a Facade