Data binding

In computer programming, data-binding is a general technique that binds data sources from the provider and consumer together and synchronizes them. This is usually done with two data/information sources with different languages, as in XML data binding and UI data binding. In UI data binding, data and information objects of the same language, but different logic function are bound together (e.g., Java UI elements to Java objects).[1]

In a data binding process, each data change is reflected automatically by the elements that are bound to the data. The term data binding is also used in cases where an outer representation of data in an element changes, and the underlying data is automatically updated to reflect this change. As an example, a change in a TextBox element could modify the underlying data value.[2]

Data binding frameworks and tools

List of examples of data binding frameworks and tools for different programming languages:

C# .NET

  • Windows Presentation Foundation (WPF)
  • Blazor
  • Windows Forms
  • MAUI

Delphi

  • DSharp third-party data binding tool
  • OpenWire Visual Live Binding—third-party visual data binding tool
  • LiveBindings

Java

  • Google Web Toolkit
  • JavaFX
  • Eclipse

JavaScript

Objective-C

  • AKABeacon iOS Data Binding framework

Swift

  • SwiftUI

Scala

  • Binding.scala

See also

  • XML data binding
  • UI data binding

References

  1. ^ "What is Data Binding?". Techopedia.com. Retrieved 30 December 2015.
  2. ^ "Data Binding Overview". Microsoft Developer Network. Microsoft. Retrieved 29 December 2016.

Further reading

  • Noyes, Brian (12 January 2006). Data Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET. Pearson Education. ISBN 978-0-321-63010-0.


  • v
  • t
  • e