上QQ阅读APP看书,第一时间看更新
Proxy design pattern
Provide a surrogate or placeholder for another object to control access to it.
-GOF Design Patterns
-GOF Design Patterns
Proxy design pattern provides an object of a class with the functionality of another class with having it. This pattern comes under the structural design pattern of GOF Design Patterns. The intent of this design pattern is to provide an alternate class for another class , along with its functionality, to the outside world.