Chapter 34. PROXY and GATEWAY: Managing Third-Party APIs
There are many barriers in software systems. When we move data from our program into the database, we are crossing the database barrier. When we send a message from one computer to another, we are crossing the network barrier. Crossing these barriers can be complicated. If we aren't careful, our software will be more about the barriers than about the problem to be solved. The PROXY pattern helps us cross such barriers while keeping the program centered on the problem to be solved. |