Chapter 1

Application Programming Interface (API) Fundamentals

This chapter first establishes the context of remote APIs. Next, it motivates why APIs are so important today. It also calls out the main design challenges for APIs, including coupling and granularity concerns. Finally, it introduces an API domain model to establish the terminology and concepts used throughout the book.

From Local Interfaces to Remote APIs

Hardly any fully disconnected application exists today; even standalone applications typically offer some kind of external interface. A simple example is file export and import, often text based; even copy-paste capabilities leveraging the operating system clipboard can be seen as interfaces. Looking inside applications, every ...

Get Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges 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.