Facade
A Facade as it's name imply's provides a simplified interface to a larger body of code, such as a class library or larger object. Facades are very handy when you want to minimize an API to protect some of the methods (or hide them from the end user/developer).
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!Flyweight
- Reduce memory usage in large objects. - Reduce size of multiply used objects. - by extracting/reducing properties and methods.
07:39
Facade
- Simplified Interface to reduce API footprint. - Great way to remove API elements you want to protect. - Helps you control application features/access.
05:09
Getting things working again
- Facade Broke it. - We need to create a way to un-facade. - Let's get to it.
05:26
Bridge
- Bridge vs. Adapter - Adapter is created after the fact. - Bridge is created while creating the classes.
01:36
Proxy
- When a function/object behaves as if it is another one. - Proxy's control, influence or monitor. - They are gateways to the real objects.
05:52