Le Lundi 10 Juillet 2006 09:11, Frank Schönheit - Sun Microsystems Germany a 
écrit :
> Hi Éric,
>
> > My suggestion is just to merge all "primary" libs into one single lib.
> > Not sharing, merging. Not a factorization, rather an addition.
>
> Ah, okay, now I see.
>
> Yes, this would be possible. The original idea for the drivers is to be
> as independent as possible, but as lot of them already share a lot of
> code (in the dbtools lib), it wouldn't hurt if they'd share a little but
> more. (Looking at the PostgreSQL driver from Jörg, the advantage of
> being really self-contained is: it runs with virtually every OOo
> version. The disadvantage is: Jörg had to re-implement some stuff which
> is available as helper elsewhere.)
>
> Do you volunteer? :)

I don't, because I have other more urgent work to do in other code parts 
first ;-). But I will keep the idea in mind, and it might be possible that I 
volunteer for that when we decide for a major drivers infrastructure change. 
In any case, I have the impression that we need a lot more brainstorming and 
fresh sexy ideas before we engage into such a big task ;-).

The idea behind my proposal is what happens for the "system settings" backends 
(in shell/source/backends). We endend up with a common backend for GNOME and 
KDE that loads the requested "real" backend according to wich environment the 
user really runs. Such "proxy" software, even though it mixes software that 
is aware of different environments into one single library (which contradicts 
modularity as you noticed it), is that it is very efficient and simple. The 
situation is exactly the same for database drivers, so I wondered why we 
shouldn't do the same...

In any case, the common "driver loader" code that is aware of some 
database-specific pecularities would be small. So I think it does not really 
hurt to mix stuff here. The real "heavy" database-specific stuff code will be 
run once we have dl'opened the driver and all the libraries it needs.

We should open somewhere a "blackboard" where to put such ideas for 
infrastructure change. With "pros" and "cons" for each idea.

-- 
- Maman, quel est le cri de la fourmi ?
- La fourmi croonde, mon chéri.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to