Introduction to OOP Chapter 24: Design Patterns : next previous audio real text


Problem: How to hide unimportant communication details, such as a network, from the client.

Solution: A proxy uses the interface that the client expects, but passes messages over the network to the server, gets back the response, and passes it to the client. The client is therefore hidden from the network details.

Similar in some ways to adaptor, but here the intermediary and the server can have the same interface.

Intro OOP, Chapter 24, Slide 16