phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] Nested db-objects


From: Olivier Berger
Subject: Re: [phpGroupWare-developers] Nested db-objects
Date: Thu, 22 May 2008 13:35:48 +0200

Le mercredi 21 mai 2008 à 20:02 +0200, Sigurd Nes a écrit :
> Hi all,
> 
> I find it very useful to have the ability to have the choice of using nested 
> db-objects.
> 
> Example:
> When integrating with external systems - it is very convenient to start a 
> transaction on system 1 - do some work (like sync) on system 2 - and if 
> things 
> went well do a commit on the result in system 1.
> 

Sure.

Are there any test cases to verify that such frameworks are working as
expected in phpgw ?

One example of things that broke when we tried and connect to another DB
(on 0.9.16) inside some classes (for interaction with Sympa's DB) were
locks on tables... suddenly there were locks reported on wrong tables,
and a big mess. After removing the connection to Sympa's DB and using
SOAP instead to interface with Sympa, all the phpgw code was much
healthier.

Please make solid foundations (including test classes) so that things
like DB API are robust and tested ;)

Best regards,
-- 
Olivier BERGER <address@hidden> (*NEW ADDRESS*)
http://www-inf.it-sudparis.eu/~olberger/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM / TELECOM & Management SudParis
(http://www.it-sudparis.eu/), Evry






reply via email to

[Prev in Thread] Current Thread [Next in Thread]