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

From: Date: Wed, 19 Mar 2003 15:34:32 +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-14462@lists.php.net to get a copy of this message
Lukas Smith schrieb: [..] > > So these methods could be easily put into the wrappers. > Great. Then it could have a similar structure than DB and MDB have. > Hans would you be willing to take care of this? > > You have a common class and a class that extends it .. either with > the DB or the MDB method calls. The include would then be placed in > the file that extends the common class. > > I have not looked at your class, but you would then need a factory > class to handle object creation which would wither return an > instance of DB_NestedSet (which extends Common_NestedSet) or > MDB_NestedSet (which also extends Common_NestedSet). Yes that's right. I will do the following if you agree. I'll try to detach PEAR::DB calls into a separate class. The infrastructure I will need for that will be the same PEAR::MDB needs. After I've done this the MDB wrapper can be created by simply rewriting the DB wrapper. ACK? -- Daniel [datenPUNK] Khan

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