liveBook · Manning

Api

Also called application programming interface

An application programming interface is a defined set of operations and conventions through which software components communicate, access data, or invoke functionality.

How 4 Manning books explain it

Vanilla Web

An API surface is the set of interfaces and operations that software exposes for external use.

How it is used
Connects application code to browser capabilities and defines how host pages interact with custom elements.
How deep it goes
Explains concrete component interface choices and browser API compatibility, without descending into browser implementation internals.
Examples
Uses a star-rating element’s attribute and property, DOM arrangement methods, and native Fetch and Cache APIs.
What you can do after
Build it from scratch: define a custom element’s public contract with attributes, properties, methods, and events.

Read how Vanilla Web explains api →

Secrets of the JavaScript Ninja, Second Edition

The public set of functions and properties through which a module exposes its capabilities.

How it is used
Defines how other code accesses a module’s functionality while shielding its implementation details.
How deep it goes
Explains returned interface objects and closure-backed internals, then demonstrates extending an interface with another method.
Examples
Uses a click counter with a public countClicks method and a separate scroll counter added through augmentation.
What you can do after
Build it from scratch by returning an object whose methods expose module functionality and retain access to internal variables.

Read how Secrets of the JavaScript Ninja, Second Edition explains api →

The Cloud at Your Service: The when, how, and why of enterprise cloud computing

An application programming interface (API) is a defined interface through which software accesses the functionality or data of another system.

How it is used
Controls cloud services remotely by provisioning, configuring, operating, scaling, and releasing resources.
How deep it goes
Defines the API’s role and names provider examples and REST, without detailing implementation.
Examples
Compares Amazon EC2’s SOAP- and HTTP Query-based API with Sun Project Kenai’s RESTful specification.
What you can do after
Operate/configure cloud resources through provider APIs, including provisioning and releasing instances.

Read how The Cloud at Your Service: The when, how, and why of enterprise cloud computing explains api →

Spring Microservices in Action

A defined interface through which software components or services communicate and request functionality.

How it is used
Routes client requests through workflow-oriented services that can aggregate work across microservices.
How deep it goes
Describes service responsibilities, gateways, authentication, and network zones without detailing API contracts.
Examples
Uses the EagleEye application as a client and service aggregators as public API examples.
What you can do after
Configure client-facing services behind a gateway and separate them from private services and application data.

Read how Spring Microservices in Action explains api →

Also covered in

What to know first

Related concepts

Questions about api

What is api?

An application programming interface is a defined set of operations and conventions through which software components communicate, access data, or invoke functionality.

Which Manning books explain api?

Vanilla Web, Secrets of the JavaScript Ninja, Second Edition, The Cloud at Your Service: The when, how, and why of enterprise cloud computing and Spring Microservices in Action.

What should I know before learning api?

Manning books that teach api usually introduce handler, JavaScript, large language model and dependency first.

What is api part of?

Api is part of public zone. A public zone is a service-networking area that exposes client-facing APIs through controlled access points.

What is api also called?

Api is also called application programming interface.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.