Api
An application programming interface is a defined set of operations and conventions through which software components communicate, access data, or invoke functionality.
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.
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.
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.
Also covered in
- Test Driven: Practical TDD and Acceptance TDD for Java Developers
- Effective Behavior-Driven DevelopmentIn early access (MEAP)
- Rust Web Development
- Building Web APIs with ASP.NET Core
- Systems Programming with ZigIn early access (MEAP)
- Self-Hosting LLMs at ScaleIn early access (MEAP)
- Event Processing in Action
- Context EngineeringIn early access (MEAP)
- Functional Programming in C#, Second Edition
- Building Reliable AI Systems
- Clean Applications with Hexagonal ArchitectureIn early access (MEAP)
- Web Component Development with Modern Libraries and ToolingIn early access (MEAP)
What to know first
- handlerA handler is a software routine or component invoked to process an event, request, message, or other input.
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- large language modelA large language model is a machine-learning model trained on extensive text data to process and generate natural language.
- dependencyA dependency is a component, resource, or prerequisite that another software component or activity relies on to function, build, or proceed.
Related concepts
- cloud storageused by · Cloud storage is remotely managed storage capacity provided as a service and accessed over a network for storing and retrieving data.
- routerused by · A router is a component that directs an incoming request or task to a destination or processing path according to routing criteria.
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.



