liveBook · Manning

Operation

An operation is an action or computation performed on or by a system, object, or service that may produce a result or change state.

How 3 Manning books explain it

The Design of Web APIs, Second Edition

An OpenAPI operation object is the specification object that describes a single API operation and its metadata, including optional tags.

How it is used
Describes a consumer-facing HTTP capability under its resource path in an OpenAPI document.
How deep it goes
Shows method keys and summaries, then points toward describing inputs and responses; does not detail their OpenAPI structures here.
Examples
Uses product-search and catalog operations, including `GET /products` and `POST /products`.
What you can do after
Apply it via OpenAPI to name operations beneath resource paths and describe their HTTP inputs and responses.

Read how The Design of Web APIs, Second Edition explains operation →

Get Programming: Learn to code with Python

An operation is an action that can be performed by or with a Python object.

How it is used
Uses operations to describe what objects can do, from arithmetic on variables to behaviors defined for new object types.
How deep it goes
Defines operations as type-specific actions, works through arithmetic and dot notation, and introduces defining operations for classes.
Examples
Uses addition, string replacement, list appending and a table of arithmetic result types.
What you can do after
Build it from scratch by defining operations for a Python class, then create objects of that type and use them.

Read how Get Programming: Learn to code with Python explains operation →

Data-Oriented Programming in Java

An operation is a rule that combines or transforms values from a specified set to produce a value.

How it is used
Frames domain behavior as deterministic value transformations and represents business-rule logic as manipulable data.
How deep it goes
Derives equational reasoning and a sealed rule algebra, but stops short of explaining operation evaluation.
Examples
Uses record merging, equality checks, enum-backed attributes, and composed AND, OR, and NOT rules.
What you can do after
Build it from scratch as explicit data, compose it fluently, and reason about its meaning independently of implementation.

Read how Data-Oriented Programming in Java explains operation →

Also covered in

What to know first

Related concepts

Questions about operation

What is operation?

An operation is an action or computation performed on or by a system, object, or service that may produce a result or change state.

Which Manning books explain operation?

The Design of Web APIs, Second Edition, Get Programming: Learn to code with Python and Data-Oriented Programming in Java.

What should I know before learning operation?

Manning books that teach operation usually introduce action, HTTP GET, HTTP method and JSON first.

What kinds of operation are there?

Kinds of operation include atomic operation, cancelable operation, chat operation, close operation and cluster operation.

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.