RE: [PEAR-DEV] RFC Nested Set manipulation class

From: Date: Wed, 19 Mar 2003 15:11:53 +0000
Subject: RE: [PEAR-DEV] RFC Nested Set manipulation class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14455@lists.php.net to get a copy of this message
> Lukas Smith wrote: > > >There is already a PEAR DB wrapper for MDB. > >Of course a modified version of DB_NestedSet would be a separate package > >as a container approach is probably not feasible. The same thing was > >done with DB_QueryTool. > > > > Right -- yes. I'd be happy to do the porting of DB_NestedSet -> > MDB_NestedSet. Have a bit of experience w/ that now (after recently > porting Horde to MDB to integrate with my project). Am reluctant to > suggest that there be two packages that'd have to be maintained, but > maybe the best / most flexible solution. I suppose that if/when MDB > becomes the standard DB layer, then this kind of situation will exist no > more. I am just thinking of putting the PEAR::DB dependency out of the main class. Then it would be possible to create a wrapper for PEAR::DB and PEAR:MDB which can be dynamicly choosen by the user. As you see NestedSet has only a small set of methods which do the database work. So these methods could be easily put into the wrappers. What do you say? I would be happy if you could do the MDB work as I don't use that yet. Thanks a lot for the suggestion -- Daniel [datenPUNK] Khan

« previous php.pear.dev (#14455) next »