Explain the singleton, facade, or handle class design
pattern?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / abere a .yimame
Design patterns are higher level abstractions that define
common software problems and solutions to these
problems.Their major importance: they enable software
developers to use best software practice , expertise and
reusablity of good experiance with out ever doing the same
problem agian and again.
Is This Answer Correct ? | 1 Yes | 13 No |
What are the advantages of asynchronous architectures?
what is the lazy design pattern?
what are design patterns..?what design patterns used in .net.
What is aop design?
What is the use of repository pattern?
how to pring 10 item per page in smartform
What is the gang of four design pattern?
What non-visual coding tools are available for web design?
What is the difference between factory and strategy design pattern?
What are the most commonly used design patterns?
If there is a Model class,View class,Controller class then How these are internally related? Which layer objects instantiated in which layer? How they communicates?
Is bean a singleton?