November 2021
Beginner to intermediate
391 pages
5h 23m
English
When we looked at the Decorator design pattern, we saw the different ways of enhancing the functionality of an object. The Proxy design pattern is similar, but its goal is to preserve exactly (or as closely as possible) the API that is being used while offering certain internal enhancements.
Proxy isn’t a homogeneous pattern because the different kinds of proxies people build are quite numerous and serve entirely different purposes. In this chapter, we’ll take a look at a selection of different proxy objects, and you can find more online and in literature.