What is data binding?
In general terms, data binding is a way to bind data to one or more objects ensuring synchronization. For example, associating a model to a view or simply assigning the value of an object's property to another object's property by granting synchronization are forms of data binding. Usually, data binding is related to the mapping between a model and a user interface, but in general it may concern any synchronized mapping between objects.
Data binding elements
In order to establish a data binding relationship between two objects, we need to define the following elements:
Data source object: This is the object that represents the data to be bound, for example, the Model in an MV* context
Data source property: This is the property of the data source object that actually contains the data we want to bind
Data target object: This is the object we want associate the data to, typically the View in an MV* context
Data target property: This is the property of the data target object...