Re: [gnome-db] New release soon

On Tue, 2007-02-13 at 18:35 -0600, Daniel Espinosa 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.

I suspect that the GdaDicts could (and should) be hidden without the
need for another object, possibly by becoming hidden members of existing
objects. But that effort should wait until after libgda 3.0.

> 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.

Murray Cumming
murrayc murrayc com

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