Re: components



On mer, 29 mar 2000, Rodrigo Moya wrote:
> Hi all!
> 
> I am doing the component part and I want to code a GnomeDbComponent
> class which will then be used by the config components as well as the
> widgets in gda-clnt-ui (to be used as components as well as widgets).
> The first thing I thought was to put this code in gda-clnt-ui, which
> seems the best. But:
> 
> * are the config components going to use any RDBMS native API?

For Postgres, not for the config components, but for the other ones, definitely
YES!

> 
> because, if they are, this causes a doubt, which is: do we want a config
> component to depend on both the RDBMS libraries installed and
> gda-clnt-ui? Because this will break the current separated design
> (servers in one part, and the rest (clients)). If we rely on the
> gda-clnt lib to make all accesses to databases, there is no problem, but
> if some of the components are to use a specific API...
> 
> I'd vote for having the components as gnome-db 'clients', using the
> gda-clnt lib for all access to databases. What do you think? What are
> the needs you see for your config component?
> 

I think it a good idea to have the GnomeDbComponent class! However I would make
it a separate lib, for the reason that it needs to be accessed by the providers
(for the config,... components) and by the gda-clnt-ui for the widgets in this
lib.

Cheers!

Vivein



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