Re: [gnome-db] New release soon



On 2/14/07, Daniel Espinosa <esodan gmail com> wrote:
What do you think about to have a GdaApp object?

You know about the "Easy GDA" functions, but they have the problem
that when you call a function they create a GdaDict and update it each
call, if I create a GdaApp it can holds this object and update it,
then you don't need to create a new one and update it each time.

For example, you can call gda_add_row, with the GdaConnection object
crated by gda_open_connection, then you can create a GdaApp using
gda_app_new, and it will expects the same as in gda_open_connection
parameters, creates the GdaConnection and assings to a new GdaDict
object (this objects could be holded by the GdaApp one), then you will
call gda_app_add_new with with the GdaApp pointer, then this function
will use the GdaDict holded by GdaApp and not create a new one or
update.

Can you propose some more detailled API? Anyway this kind of
improvement will go after 3.0 is released as I don't want to introduce
new features at this point of the beta releases.

Thanks,

Vivien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]