Proxy is a structural pattern that provides a substitute or placeholder for another object. A proxy controls access to the original object, allowing you to perform something before or after the request gets through — such as lazy initialisation, access control, logging, caching, or remote communication. The client is unaware it is talking to a proxy.
ℹ️
Core idea: implement the same interface as the real object, hold a reference to it, and intercept calls to add cross-cutting behaviour. The client never knows whether it is talking to the real object or the proxy.
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.