Welcome to may Facade Design Pattern Tutorial! The Facade pattern is extremely easy to understand. Chances are you have used it already and just didn’t know it.
The Facade pattern basically says that you should simplify your methods so that much of what is done is in the background. In technical terms you should decouple the client from the sub components needed to perform an operation.
All of the code that follows the video will fill you in on anything you don’t catch in the video.
If you like videos like this, tell Google by pressing this button [googleplusone]
Share this if you’d like [nttfblike]
Code from the Video
WELCOMETOBANK.JAVA
ACCOUNTNUMBERCHECK.JAVA
SECURITYCODECHECK.JAVA
FUNDSCHECK.JAVA
BANKACCOUNTFACADE.JAVA
TESTBANKACCOUNT.JAVA
Good one. Thanks Derek Banas
You’re very welcome ๐
Thanks.! ๐
You’re very welcome ๐
I really admire and appreciate your work but i have a question: You said facade uses a simplified interface to decouples or separates the client from all the sub components. But i don’t see any interface in the code. Why is that?
Thank you ๐ I’m sorry about the confusion. I wasn’t referring to a java interface, but instead a general interface like a GUI. I should have used a different word. Sorry about that.
Very nicely explained. Thanks Derek ๐
You’re very welcome ๐ Thank you
You made it very clear with simple examples.
now I linked Facade – Withdraw money , Command – remote etc. easy to understand ๐ thanks a lot Derek
Thank you ๐ I’m happy that I could help.
As you said, we use this pattern many places in our code, but never realized it is Faรงade design pattern.
Thanks for making it clear.
THANK YOU
U R MUCH MORE BETTER THAN MY OWN TEACHER =O
Thank you very much ๐
Thanks a lot , very good example and nicely explained.
You’re very welcome ๐ Thank you