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

What is a lazy initialization in singleton?

819


What is onion architecture?

842


Are you using singleton in your code?

808


What is the prototype design pattern?

817


What are the most commonly used design patterns?

806


What are the differences between the design patterns and the framework?

800


What is the design pattern?

807


Why have we used synchronized here?

779


Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?

2577


Did you use ooa/ood methodologies? Did you use design patterns?

853


Is oop a design pattern?

766


What is clean architecture?

762


when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next

7374


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?

3821


Is mvc a software design pattern?

893