Middle-Tier APIs

We characterized the middle tier as a proxy for the client. Another way to look at it is to view the browser as the GUI and the middle-tier as the application engine. We may decompose the middle tier into a controller function and a model portion. The controller handles interaction with the browser—the view, if you will. The model acts as a processing script for business rules. Large enterprises may have business rules that reside in reusable libraries of classes or components. On the other hand, simple applications may collapse the model and view into one set of objects or one piece of code.

There are fixed overhead costs with selecting an API or a design pattern. Often, a design pattern will seem unwieldy when used for an entry-level ...

Get Linux® and Windows® Interoperability Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.