CHAPTER 12

Client-side Data Binding

Our great mistake is to try to exact from each person virtues which he does not possess, and to neglect the cultivation of those which he has.

Marguerite Yourcenar, “Memoirs of Hadrian”

The term data binding refers to the ability of a visual component to be programmatically updated with fresh data. The canonical example is a text box that is assigned a default text to show for the user to edit. Data binding is therefore just what the name suggests—a way to bind data to a visual component in software. HTML elements—input fields but also DIV and text elements such as P and SPAN elements—are visual components. Client-side data binding refers to the techniques you can adopt to refresh the content of a browser-displayed ...

Get Programming ASP.NET Core, First edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.