RE: [PEAR-DEV] DB_NestedSet_MDB useless
| From: | Daniel Khan | Date: | Tue, 01 Jul 2003 15:29:27 +0000 |
| Subject: | RE: [PEAR-DEV] DB_NestedSet_MDB useless | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17910@lists.php.net to get a copy of this message | ||
Hello,
[..]
> > NestedSet ... we all know that :-)
> > parent-id approach (called Simple)
> > XML ... nothing to say about this
> > Array ... a tree which comes from a proprietrary array structure
> > Filesystem ... a tree reading the Directory structure
> Well, does it make sense to merge this stuff into PEAR::Tree ? I
> haven't looked at the code yet (will do that next), but perhaps any
> advantages in NestedSet could be merged into DB and MDB drivers for
> PEAR::Tree?
>
> I don't know if there's a big performance hit to using this more
> abstract class -- but I'd assume not, providing that it's architected
> such that only the stuff that's used needs to be included / parsed.
> (And I understand that the whole tree does not need to be loaded into
> memory.)
I think Wolfram and me diskussed something like that :)
I am allready thinking on making an adapter for that but hadn't time yet.
But I'll have much more time soon.
There where also ideas to do a API which is able to access all
tree/structure packages
in PEAR.
greetings
Daniel Khan