UI data binding: Difference between revisions
Appearance
Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
m Task 18 (cosmetic): eval 3 templates: hyphenate params (1×); |
||
Line 36: | Line 36: | ||
* [[Backbone.js]] |
* [[Backbone.js]] |
||
* [[Ember.js]] |
* [[Ember.js]] |
||
* Datum.js<ref>{{cite web |url=http://datumjs.com|title=Datum.js| |
* Datum.js<ref>{{cite web |url=http://datumjs.com|title=Datum.js|access-date=7 November 2016}}</ref> |
||
* [[knockout.js]] |
* [[knockout.js]] |
||
* [[Meteor (web framework)|Meteor]], via its ''Blaze'' live update engine<ref>{{cite web|title=Meteor Blaze|url=https://www.meteor.com/blaze|quote=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.}}</ref> |
* [[Meteor (web framework)|Meteor]], via its ''Blaze'' live update engine<ref>{{cite web|title=Meteor Blaze|url=https://www.meteor.com/blaze|quote=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.}}</ref> |
Revision as of 15:38, 30 January 2021
This article needs additional citations for verification. (February 2015) |
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
- DSharp third-party data binding tool[citation needed]
- OpenWire Visual Live Binding - third-party visual data binding tool
Java
.NET
- Windows Forms data binding overview
- WPF data binding overview
- Unity 3D data binding framework (available in modifications for NGUI, iGUI and EZGUI libraries)[citation needed]
JavaScript
- Angular
- AngularJS
- Backbone.js
- Ember.js
- Datum.js[2]
- knockout.js
- Meteor, via its Blaze live update engine[3]
- OpenUI5
- React
- Vue.js
See also
References
- ^ "Using JavaFX Properties and Binding | JavaFX 2 Tutorials and Documentation".
- ^ "Datum.js". Retrieved 7 November 2016.
- ^ "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.