liveBook · Manning

Data binding

Data binding is a technique that connects application data or state to user-interface elements or component properties so values or behavior can be represented or synchronized.

How 5 Manning books explain it

D3.js in Action, Third Edition

Data binding is a pattern that associates data values with document elements so the elements can be generated or updated from those values.

How it is used
Generates chart marks, legends, and filter controls by coupling data records to DOM elements.
How deep it goes
Explains selectAll(), data(), and join(), then develops keyed enter, update, and exit behavior for filtered views.
Examples
Uses bar-chart rectangles, donut arcs with percentage labels, an HTML color legend, histogram bins, and filtered scatterplot circles.
What you can do after
Build it from scratch with D3 to create, update, and preserve data-linked DOM elements during visualization changes.

Read how D3.js in Action, Third Edition explains data binding →

.NET MAUI in Action

Data binding is a technique that connects user-interface properties to source-object properties or commands so values and actions can be synchronized.

How it is used
Connects .NET MAUI UI properties, collections, and commands to code or other UI elements for interactive apps.
How deep it goes
Defines sources, targets, BindableObject, binding contexts, view bindings, collection templates, and MVVM commands; defers value converters.
Examples
Demonstrates Entry-to-Label text, Slider-to-Image scale, a to-do CollectionView, and an inventory search-and-submit workflow.
What you can do after
Apply it via .NET MAUI XAML and ViewModels to synchronize controls, render collections, and invoke bound commands.

Read how .NET MAUI in Action explains data binding →

Pro Angular 16

Data binding is a technique that connects application data with a user-interface representation so changes can be reflected between them.

How it is used
Connects component data and logic to dynamic HTML generated from Angular templates.
How deep it goes
Explains one-way bindings through expressions, targets, interpolation, element configuration, classes, and styles; defers advanced bindings and custom extensions.
Examples
Uses product counts, a to-do table’s data source, store-category counts, and cart quantities to illustrate bindings.
What you can do after
Apply it via Angular templates to display component values and configure element properties, classes, and styles.

Read how Pro Angular 16 explains data binding →

Pro ASP.NET Core 7, Tenth Edition

A Blazor component binding that associates a component value parameter with a property on the edited model.

How it is used
Keeps HTML inputs, child components, and edit-form controls synchronized with C# properties.
How deep it goes
Works through manual event wiring, binding attributes, custom component parameter conventions, and typed form controls; does not descend into binding internals.
Examples
Uses a city input and buttons, a city-selection component that highlights table rows, and an editor for person properties.
What you can do after
Apply it via Blazor binding attributes to synchronize inputs and components, including typed controls inside EditForm.

Read how Pro ASP.NET Core 7, Tenth Edition explains data binding →

Web Components in Action

Data binding is a technique for synchronizing application data with a user interface or component state.

How it is used
Frames data binding as a framework-provided way to coordinate application data, interface state, and component interactions.
How deep it goes
Contrasts framework offerings with no-framework alternatives but stops short of implementing a binding mechanism.
Examples
Uses nested color-picker inputs, DOM event bubbling, event buses, and deprecated Object.observe as concrete reference points.
What you can do after
Evaluate whether framework data binding or simpler event and state-management patterns better fit a component application.

Read how Web Components in Action explains data binding →

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.