Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Proxy Design Pattern Tutorial

170.1K views on YouTube

Code is Here: http://goo.gl/dzqhV

Welcome to my Proxy Design Pattern Tutorial! The Proxy design pattern limits access to just the methods you want made accessible in another class.

It can be used for security reasons, because an Object is intensive to create, or is accessed from a remote location. You can think of it as a gate keeper that blocks access to another Object. I demonstrate how the proxy pattern works using some code used in my state design pattern tutorial. You may want to check that tutorial out before proceeding.

State Design Pattern Tutorial: http://www.youtube.com/watch?v=MGEx35FjBuo