RE: [PEAR-DEV] DB_NestedSet_MDB useless
| From: | Daniel Khan | Date: | Tue, 01 Jul 2003 15:08:54 +0000 |
| Subject: | RE: [PEAR-DEV] DB_NestedSet_MDB useless | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17905@lists.php.net to get a copy of this message | ||
Hello Jeroen,
> basically what I use it for is to create a filesystem type system in a
> database. Users can create folders (I call them sections) with an
> unlimited number an subfolders. With PEAR::Tree I can easily read a tree
> starting from a specific folder and display it in a javascript menu (not
> HTML_TreeMenu, but similar).
>
> So if I understand correctly, DB_NestedSet is for nested sets (duh!) and
> perhaps PEAR::Tree is for "my" way of storing trees, using a plain "id
> -> parent_id" structure.
> Did I explain myself properly?
No - Tree supports different backends (like XML) including NestedSets (it's
the dynamic driver I think)
greetings
Daniel Khan