Jump to content

UI data binding

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 82.144.202.134 (talk) at 14:07, 25 May 2012 (.NET). 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

See also