Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 the concurrency design pattern?

1118


Explain what is good design?

1029


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

2395


What are the most important software design patterns?

1115


Explain what are 5 common problems in the software development process?

1047


What are the SDLC phases you have invloved ?

2702


What is factory method in design pattern?

1005


What are the types of participants of the prototype design pattern you will get?

989


What are the main usage of the patterns?

1031


What is a lazy initialization in singleton?

1095


When should design patterns be used?

1025


4. Identify and bound the SOI’s Operating Environment.

3743


Can we have this pattern implemented using static class?

1040


Why is singleton bad?

975


What is lexi design pattern?

1137