KaranGupta
asked on
Facade design pattern
Hi
Is custom control an example of facade design pattern because if the developer is using the control then he is using the front end of the complex control.
Kindly advice
Regards
Karan Gupta
Is custom control an example of facade design pattern because if the developer is using the control then he is using the front end of the complex control.
Kindly advice
Regards
Karan Gupta
ASKER
Hi Kaufmed
Thanks for the reply. Can you please give me some real time example related to programming?
Regards
Karan Gupta
Thanks for the reply. Can you please give me some real time example related to programming?
Regards
Karan Gupta
You can find a pretty decent example here:
http://www.dofactory.com/Patterns/PatternFacade.aspx#_self2
http://www.dofactory.com/Patterns/PatternFacade.aspx#_self2
ASKER
Hi Kaufmed
Thanks for the reply. I got the answer. But one more thing if I create a system that will calculate tax is also an example of facade design pattern.
Please advice
Regards
Karan Gupta
Thanks for the reply. I got the answer. But one more thing if I create a system that will calculate tax is also an example of facade design pattern.
Please advice
Regards
Karan Gupta
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for KaranGupta's comment #a38344168
for the following reason:
Got the explanation
Accepted answer: 0 points for KaranGupta's comment #a38344168
for the following reason:
Got the explanation
Which is... your own comment? Care to elaborate?
ASKER
Hi Kaufmed
I selected your post as answer, but I don't know how it went to the close question work flow. I am accepting it again :)
I selected your post as answer, but I don't know how it went to the close question work flow. I am accepting it again :)
ASKER
Got the answer
No problem. I was just a bit confused for the moment = )
turn_on_surround_sound
turn_on_dvd_player
start_popcorn_machine
With the Facade, you turn all of these steps into a more simple series of steps:
...behind the scenes, the Facade is doing all the things you would have previously done yourself (above).