Command
A command is an instruction or request representing an operation for a system or component to interpret, handle, or execute.
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.
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.
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.
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.
Related concepts
- eventcontrasts with · An event is an occurrence, change, or associated record or notification recognized as significant within a system or context.
- SQLcontrasts with · SQL is a standardized declarative language for defining, querying, and manipulating data and structures in relational database systems.
- messagekind of · A message is a discrete unit of information or data represented, processed, or exchanged in a communication context.
- shell scriptused by · Bash is a Unix command-line shell and scripting language for executing commands interactively and through scripts.
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.




