Proxy Design Pattern
Proxy Design Pattern Article : https://medium.com/@sean_bradley/proxy-design-pattern-84fcfd82c4be
Sometimes you just want to switch off your computer and read from a book. So, all GoF patterns are discussed in my Design Patterns In Python book
https://www.amazon.com/dp/B08XLJ8Z2J : ASIN B08XLJ8Z2J
The proxy design pattern is a class functioning as an interface to another class or object.
A proxy could be for anything, such as a network connection, an object in memory, a file, or anything else you need to provide an abstraction between.
It is a wrapper called by a client to access the real underlying object.
Additional functionality can be provided at in the proxy abstraction if required. eg, caching, authorization, validation, lazy initialization, logging.
The proxy should implement the subject interface as much as practicable so that the proxy and subject appear identical to the client.
The Proxy Pattern may occasionally also be referred to as Monkey Patching or Object Augmentation
#python
#pythonDesignPatterns
Other Videos By SBCODE
2020-08-31 | Loki 1.9.x LogQL in Grafana 7 |
2020-08-27 | Install Loki Data Source and Explore in Grafana 7 |
2020-08-27 | Install Promtail Binary and Start as a Service in Grafana 7 |
2020-08-26 | Install Loki Binary and Start as a Service in Grafana 7 |
2020-08-23 | Zabbix : Reading Windows Event Logs in Zabbix |
2020-08-22 | Graph Non Time Series Data in Grafana 7 |
2020-08-22 | Grafana : Custom MySQL Time Series Queries |
2020-08-21 | Custom MySQL Time Series Queries in Grafana 6 |
2020-08-19 | Install MySQL Dashboard and Collector in Grafana 7 |
2020-08-18 | Grafana : Create MySQL Data Source in Grafana |
2020-08-17 | Proxy Design Pattern |
2020-08-17 | Composite Design Pattern |
2020-08-17 | Facade Design Pattern |
2020-08-17 | Decorator Design Pattern |
2020-08-17 | Adapter Design Pattern |
2020-08-17 | Mediator Design Pattern |
2020-08-17 | Iterator Design Pattern |
2020-08-17 | Observer Pattern |
2020-08-17 | Graph Non Time Series Data in Grafana 6 |
2020-08-17 | Grafana : Bind SSL to your Grafana Nginx Proxy |
2020-08-17 | Grafana : Reverse Proxy Grafana with Nginx |