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

From: Date: Wed, 19 Mar 2003 14:42:12 +0000
Subject: AW: [PEAR-DEV] RFC Nested Set manipulation class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14449@lists.php.net to get a copy of this message
Lukas Smith wrote: > > >>This uses DB only, I am in favour of having it into DB. > > >>Something like DB_NestedSet ? > > >> > > > > Can one use MDB w/ this class? -- I'd be very interested in seeing > > support for MDB (w/o PEAR wrapper, necessarily). Not sure how > feasible > > that would be. (Would be happy to help if that'd make a > > difference.) > > The modifications necessary would not be a large amount of work. > Mostly its just manually doing what the wrapper would do. > > So basically take every method call to DB, check what the wrapper > would do and then make the changes. Hm - maybe not that easy. NestedSet includes PEAR::DB within the code. It also calls the error handlers (it expects a pear::db result from a query). So the self made wrapper would have to _totally_ emulate PEAR::DB and after you did that job you will see that you just have written a MDB abstraction layer for PEAR::DB :) I don't know much about MDB, but can't this be accessed using the ODBC abstraction layer? -- Daniel [datenPUNK] Khan

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