Misplaced Pages

UI data binding

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "UI data binding" – news · newspapers · books · scholar · JSTOR (February 2015) (Learn how and when to remove this message)

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 (e.g., 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.

Example

<TextBlock Text="{Binding Username}" />
public class ExampleViewModel
{
    public string Username { get; set; }
}

Data binding frameworks and tools

Delphi

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

Java

.NET

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

JavaScript

See also

References

  1. "Using JavaFX Properties and Binding | JavaFX 2 Tutorials and Documentation".
  2. "Datum.js". Retrieved 7 November 2016.
  3. "Meteor Blaze". Meteor Blaze is a powerful library for creating live-updating user interfaces. Blaze fulfills the same purpose as Angular, Backbone, Ember, React, Polymer, or Knockout, but is much easier to use. We built it because we thought that other libraries made user interface programming unnecessarily difficult and confusing.


Stub icon

This computer-programming-related article is a stub. You can help Misplaced Pages by expanding it.

Stub icon

This database-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: