Getting Started With LiveBindings Guide From Embarcadero For Delphi XE6 Firemonkey

Delphi XE6 Firemonkey Getting Started With LiveBindingsEmbarcadero has a getting started with LiveBindings guide in the Delphi XE6 Firemonkey documentation which explains the architecture and links to more information. It defines LiveBindings as an expression based framework because it uses bindings expressions to bind objects to other objects or data fields. What this means is that you can bind the TEdit.Text field to a TLabel.Text field and when you edit the text in the TEdit text field it will automatically update the text in the TLabel. Bindings can be unidirectional or bidirectional. However, properties of a component can only have one binding assigned to them at the same time. One way around that it says is for you to bind a property (like TEdit.Text) to a data field. Data fields can be bound to multiple properties. It explains that the term Link when used to describe a LiveBinding means it will automatically update controls and data sources to respond to user input. It lists the following visual components which are used to configure LiveBindings:

  • TBindSourceDB     Is used for creating bindings to databases.
  • TPrototypeBindSource     Provides a data source for generating sample data that you can use to get started when you do not already have data to start with. Later you can replace this data source with some real data.
  • TBindSourceDBX     Is used for creating binding to databases using the DBX framework.
  • TParamsAdapter     Is used for binding visual controls to DBX command parameters.
  • TBindingsList     Is used for holding of binding lists.
  • TDataGeneratorAdapter     Is an adapter for data generators.
  • TAdapterBindSource     Is used for working with non-database data. The adapter property is used to connect the data source to non-database data, such as a generic collection of objects.
  • TBindNavigator (FMX)     Is used for cycling through records in a dataset when developing FMX applications

It also links to 7 different demo applications which demonstrate various features of LiveBindings. LiveBindings are available cross platform on Android, IOS, Windows, and OSX.

Head over and check out the full getting started page about LiveBindings on the Embarcadero site.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Getting Started With LiveBindings Guide From Embarcadero For Delphi XE6 Firemonkey by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE6 Firemonkey Virtual Key Codes
List Of All Virtual Key Codes For OnKeyDown And OnKeyUp In Delphi XE6 Firemonkey On Android And IOS

If you are building any kind of cross platform app where you use the keyboard you will probably need to...