liveBook · Manning

Unidirectional data pipeline

A unidirectional data pipeline is a data-flow model in which data or updates move from source to destination in one direction without automatic reverse propagation.

How 2 Manning books explain it

Pro Angular 16

One-way data binding is a technique in which data flows from an application value or source to a user-interface representation in a single direction.

How it is used
Carries component values into Angular templates to set displayed content, classes, and styles.
How deep it goes
Explains binding anatomy, expression evaluation, bracket pitfalls, and idempotence; treats event and two-way bindings separately.
Examples
Uses an ngClass div, an omitted-brackets comparison, invalid state-changing expressions, and an interactive product table.
What you can do after
Apply it via Angular template bindings to display component values and diagnose literal-value or state-changing expression mistakes.

Read how Pro Angular 16 explains unidirectional data pipeline →

The Joy of JavaScript

Unidirectional data flow is an architecture in which data moves in one direction through a system from source to sink.

How it is used
Uses streams and promises to structure application data as one-way pipelines from source to sink.
How deep it goes
Explains Observable flow, laziness, operators, observers, subscriptions, and cancellation, but does not detail operator implementations.
Examples
Demonstrates Observable.of with four words, subscription through next, and explicit unsubscription.
What you can do after
Apply the pattern via Observable, Observer, and Subscription abstractions to create, consume, and stop push-based data flows.

Read how The Joy of JavaScript explains unidirectional data pipeline →

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.