liveBook · Manning

Command

A command is an instruction or request representing an operation for a system or component to interpret, handle, or execute.

How 5 Manning books explain it

Build a Frontend Web Framework (From Scratch)

A command is a representation of an intended application operation, typically carrying the information needed to process that operation.

How it is used
Translates user interactions into application-domain requests that the state manager can process.
How deep it goes
Defines commands against events and implements named dispatch, payload delivery, handler registration, and after-command callbacks.
Examples
Uses to-do interactions, a remove-todo reducer, and a console greeting exercise with an after-command message.
What you can do after
Build it from scratch by mapping UI events to named commands and routing their payloads through a JavaScript dispatcher.

Read how Build a Frontend Web Framework (From Scratch) explains command →

Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS

A command is an executable instruction that a shell can invoke to perform an operation.

How it is used
Runs administrative operations interactively and provides the building block for repeatable PowerShell automation.
How deep it goes
Explains interactive execution, syntax anatomy, discovery, and repetition, while stopping short of comprehensive scripting internals.
Examples
Demonstrates command discovery, YAML module commands, and a CIM-based disk-space report tested in VS Code.
What you can do after
Apply commands interactively, discover unfamiliar commands with help, and convert reliable command lines into scripts.

Read how Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS explains command →

Architecture Modernization: Socio-technical alignment of software, strategy, and structure

A command is an instruction requesting that a system or subsystem perform an action that may change state.

How it is used
Uses a command to capture the information needed to complete an inspection and initiate the next business action.
How deep it goes
Works through command scope and its requirements-based rationale, while deferring technical verification to a possible code probe.
Examples
Illustrates one Complete Inspection command carrying inspection results, images, and vehicle diagnostics.
What you can do after
Apply it via Domain Message Flow Modeling to choose command boundaries that fit the stated requirements.

Read how Architecture Modernization: Socio-technical alignment of software, strategy, and structure explains command →

Idiomatic Rust

The command pattern encapsulates an action as an object or value so its execution can be separated from the receiver and controlled in order or timing.

How it is used
Separates command execution from its receiver and lets clients control execution order and timing.
How deep it goes
Defines a result-returning trait and demonstrates file commands, stopping short of implementing a complete undo/redo framework.
Examples
Demonstrates file-reading and file-writing commands stored in an ordered vector.
What you can do after
Build a simple Rust command abstraction with a shared trait, concrete file operations, and ordered client execution.

Read how Idiomatic Rust explains command →

Apache Kafka in Action

A command is a message that requests another system to perform a specific action.

How it is used
Instructs an independent service to perform an action within a distributed business workflow.
How deep it goes
Defines commands, contrasts them with other message types, and demonstrates a notification payload without detailing command processing internals.
Examples
Uses promotion notifications, customer identifiers, and notify_customer payloads as concrete command examples.
What you can do after
Apply command messages to request actions from independent services through Kafka topics.

Read how Apache Kafka in Action explains command →

Related concepts

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.