As always i recommend giving Christopher Okhravi’s video on proxy pattern a watch
Proxy pattern is simply a proxy between interfaces
Proxy, a person authorized to act on behalf of another.
Proxy pattern can be used for multitude of reasons like
- Caching
- Security
- Remote data processing that may require fetching large amounts of data
Examples
If you have a good example please submit a PR and i will happily merge it!