Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Auxo.Binding

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Data Binding Libary 0.0.1-pre-alpha

  • Dependencies
    • Auxo.Core
    • Auxo.Access
json
{
  "Name": "Allan Gomes",
  "Age": 24,
  "Contact": {
    "Number": "8588888888"
  }
}
delphi
var 
  binding: IComponentBinding;
  source: IRecord; //<-- { Json, XML, TObject }
  
  //Compoents
  edtName: TcxTextEdit;    //<-- DevExpress Component { prop: Value: string }
  edtAge: TcxSpinEdit;     //<-- DevExpress Component { prop: Value: Double }
  edtContactNumber: TEdit; //<-- Delphi VCL Component { prop: Text: string }

begin
  binding.Source := source;
  binding[edtName, 'Name'];
  binding[edtContactNumer, 'Contact.Number'];
  
  binding.ToControls;
  binding.ToSource;
end;
  • This library also has a visual component