Data Binding

noun

say it: “DAY-tuh BYN-ding” /ˈdeɪtə ˈbaɪndɪŋ/

Connecting part of a screen to a value in an object, so the screen redraws itself whenever that value changes.

What is data binding?

Data binding connects part of a screen to a value in an object, usually a view model, so that when the value changes the screen redraws itself. Nobody updates the label by hand. Underneath it's the Observer pattern: the screen signs up as a listener, and the object tells it about every change.

In a sentence

  • “With data binding, the books-out count on the kiosk updates the moment Maya borrows one.”

Level: Journeyman · More Software Development terms at this level

Updated