Explain the singleton, facade, or handle class design
pattern?
Answer Posted / ash
Singleton - single instance of the class will be used. Many
uses.
facade - simplifying interface(s) into simple interface.
Used in application or presentation layer as api or for
wrapping external third-party api/resource
Handle - one method interface with one "action" argument.
Other arguments can be passed as list for "action". Used
when we dont know upfront which methods we would support and
dont want clients to recompile. Somewhat similar to command
pattern
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which design pattern is mostly used in net?
What are the benefits of the proxy in the design pattern?
Why do we need singleton pattern?
Is oop a design pattern?
Can we use an equated value as operands for an MVC ? Reason for the same.
Contact a system development program in your organization. Research how they analyzed their SYSTEM OF INTEREST (SOI), its OPERATING ENVIRONMENT, and their respective system elements. How was this analysis reflected in the SOI architecture?
What is onion architecture?
What are the 23 design patterns?
What are the languages used in the design pattern?
What is the behavioral design pattern?
Explain three types of components comprise an application design?
What are creational design patterns?
What is factory method in design pattern?
What are the SDLC phases you have invloved ?
What is architecture and what is design?