Jump to content

UI data binding

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 24.84.47.18 (talk) at 10:33, 9 August 2012 (JavaScript). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

UI data binding is a software design pattern to simplify development of GUI applications. UI data binding binds UI elements to an application domain model. Most frameworks employ the Observer pattern as the underlying binding mechanism. To work efficiently, UI data binding has to address input validation and data type mapping.

A bound control is a widget whose value is tied or bound to a field in a recordset (i.e., a column in a row of a table). Changes made to data within the control are automatically saved to the database when the control's exit event triggers.

Data binding frameworks and tools

Java

  • JSR-277 A Standard Data Binding & Data Access Facility for J2EE [1]
  • JFace Data Binding [2]

.NET

  • Windows Forms data binding overview [3]
  • WPF data binding overview [4]
  • Unity 3D data binding framework (available in modifications for NGUI, iGUI and EZGUI libraries) [5]

JavaScript

See also