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


Please Help Members By Posting Answers For Below Questions

Which design pattern is mostly used in net?

578


What are the benefits of the proxy in the design pattern?

593


Why do we need singleton pattern?

585


Is oop a design pattern?

586


Can we use an equated value as operands for an MVC ? Reason for the same.

2023






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?

3630


What is onion architecture?

636


What are the 23 design patterns?

717


What are the languages used in the design pattern?

576


What is the behavioral design pattern?

658


Explain three types of components comprise an application design?

581


What are creational design patterns?

632


What is factory method in design pattern?

560


What are the SDLC phases you have invloved ?

2178


What is architecture and what is design?

589