Mega Search
23.2 Million


Sign Up

Make a donation  
Re: How to get rid of LiveBindings and be happy?  
News Group: embarcadero.public.delphi.firemonkey

Thank you for you tip.

However what I am looking for is a way to make the same livebinding connection 
with datasets in a different way, maybe manually assigning the values to 
each control.

I was looking to see if someone already made that or have any library around 
with that capability.

Livebinding works, but it is slow and do not let me control when I want to 
load data in parallel by a thread

Eduardo


> Maybe, I'm off topic, but I tell you what I use.
> I'm connecting to MySQL databases directly with MyDAC, have you ever
> heard of them?
> I'm filling the listviews manually and I also do the filtering
> manually.
> Therefore it's more flexible for me, I can do my own filtering stuff.
> It works well on slower connections too, it even has a disconnected
> mode for slow connection.
> What I'm saying is maybe you can give it a try.
>> {quote:title=Eduardo Elias wrote:}{quote}
>> xe7.1
>> Hi there!
>> 
>> I am using live bindings extensivelly in my software.
>> 
>> It works, however it is slow, difficult to use in forms with large
>> number of connections, and mainly impossible to be used when I need
>> to load data by thread.
>> 
>> ListView is the component that I use most and it has the nasty
>> behavior of loading everything on the table it is connected.
>> 
>> Using live binding I have no pratical control of it and the ueser
>> needs to wait it load everything before the form shows up (since i
>> open the table on the formcreate)
>> 
>> In a network or internet connection it is slow and make boring the
>> usage of the software.
>> 
>> There is also the fact of some VCL - datasource like behavior do not
>> exist, like the fields needs to be disabled when not in edit mode.
>> 
>> Said that, I wonder if someone could give and idea or point to
>> solution, example, framework I could be use to connect the FMX
>> editors and controls (TEdit, TListView, etc) to a TDataSet in a such
>> way i could open the dataset on a thread an then connect/link/bind
>> everything after I have the dataset done. This will make the View
>> present itself and the user have a responsive view while waiting for
>> the data, it could even open each tdataset in separated threads.
>> 
>> Please help !
>> 
>> Eduardo
>>

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 23-Jan-2015, at 4:39 AM EST
From: Eduardo Elias
 
Re: How to get rid of LiveBindings and be happy?  
News Group: embarcadero.public.delphi.firemonkey
Maybe, I'm off topic, but I tell you what I use.
I'm connecting to MySQL databases directly with MyDAC, have you ever heard of them?
I'm filling the listviews manually and I also do the filtering manually.
Therefore it's more flexible for me, I can do my own filtering stuff.
It works well on slower connections too, it even has a disconnected mode for slow connection.
What I'm saying is maybe you can give it a try.

> {quote:title=Eduardo Elias wrote:}{quote}
> xe7.1
> 
> Hi there!
> 
> I am using live bindings extensivelly in my software.
> 
> It works, however it is slow, difficult to use in forms with large number 
> of connections, and mainly impossible to be used when I need to load data 
> by thread.
> 
> ListView is the component that I use most and it has the nasty behavior of 
> loading everything on the table it is connected. 
> 
> Using live binding I have no pratical control of it and the ueser needs to 
> wait it load everything before the form shows up (since i open the table 
> on the formcreate)
> 
> In a network or internet connection it is slow and make boring the usage 
> of the software.
>   
> There is also the fact of some VCL - datasource like behavior do not exist, 
> like the fields needs to be disabled when not in edit mode.
> 
> 
> Said that, I wonder if someone could give and idea or point to solution, 
> example, framework I could be use to connect the FMX editors and controls 
> (TEdit, TListView, etc) to a TDataSet in a such way i could open the dataset 
> on a thread an then connect/link/bind everything after I have the dataset 
> done. This will make the View present itself and the user have a responsive 
> view while waiting for the data, it could even open each tdataset in separated 
> threads.
> 
> Please help !
> 
> Eduardo

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 23-Jan-2015, at 4:19 AM EST
From: =?Utf-8?Q?L=C3=A1szl=C3=B3_Mlnvszky