This chapter covers the Proxy pattern.
GoF Definition
It provides a surrogate or placeholder for another object to control access to it.
Concept
There are situations where you want to restrict direct communication between an intended object and the outside world. There are various reasons for this. For example, you may be promoting additional securities, you need to improve the response time, you may have some resource constraints, or the final product is still in the development phase.
Proxies can be of different types, but fundamentally ...