Proxy Pattern

-> Proxy can be used when we don’t want to access to the resource or subject directly because of some base permissions
-> Proxy is a class that control access to another.
-> Implemented via subclass or via delegation using a common interface.
-> Frequent use cases:

  • Remote proxy for web services / network calls
  • Lazy loading implementations
  •  Security/access controls

Leave a Reply

Your email address will not be published. Required fields are marked *