RE: [PEAR-DEV] RFC Nested Set manipulation class
| From: | Martin Jansen | Date: | Wed, 19 Mar 2003 16:21:57 +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-14464@lists.php.net to get a copy of this message | ||
Am Mit, 2003-03-19 um 16.11 schrieb Daniel Khan:
> 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.
You should perhaps have a look at the Container concept of PEAR::Auth
and PEAR::Cache, which seems to be similar to what you want to do here.
- Martin