AW: [PEAR-DEV] RFC Nested Set manipulation class
| From: | Daniel Khan | Date: | Thu, 20 Mar 2003 09:45:31 +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-14483@lists.php.net to get a copy of this message | ||
> > Martin Jansen wrote:
> >
> > [..]
> > > > 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.
> >
> > Thanks for the suggestion. It will be something like that.
> > Now if we add the possibility to have MDB or DB as abstraction layer
> > isn't DB_NestedSet the wrong location for that package?
> > Just wondering.
>
> As long as the package only supports MDB and DB, there is no problem
> with DB_NestedSet. But as soon as it also supports LDAP, text files or
> similar stuff, we run into a problem.
> So do you expect that your package will once support other devices than
> databases?
I don't think that it is going to support other backends as I will move
on creating an interface to Tree to have other devices supported.
So I'll use DB_* as packagename - thanks.
regards
Daniel [datenPUNK] Khan