The Proxy Design Pattern
Proxy means ‘in place of’, or ‘on behalf of’. These literal meanings of proxy directly explains Proxy Design Pattern. Proxies are also called surrogates, placeholders, handles, and wrappers. In a nutshell, a proxy “Controls and manage access to the object they are protecting” When to use this pattern? Proxy pattern is used when we need to…