Till Klampaeckel [2009-08-19 23:38 UTC] The archive is corrupted (at least for me). Would you mind linking a repository, trac or something similar? Just so ppl don't have to download the code to inspect.
Samuel ROZE [2009-08-20 00:20 UTC] Or sorry. It's OK for me now.
Well, I'll configure my SVN repository for public this night. ;-)
Christian Weiske [2009-08-20 15:21 UTC] I absolutely do not understand from your description what the package does. Please provide a usecase.
David Jean Louis [2009-08-20 16:37 UTC] Hi Samuel,
First, welcome to PEAR :)
While I understand this can be useful in some situations (trees), I have the feeling the package is too specific. Additionnally, if I understand correctly, it forces the user to use a fixed table schema, this is too restrictive...
Perhaps it would make more sense to investigate what can be done/merged with Structures_Tree ?
http://pear.php.net/package/Tree
(which is unmaintained btw...)
Samuel ROZE [2009-08-20 16:45 UTC] There's only three fields which are obligated... You can uses others fields using an array on paramter 3. ;-)
Of course, it's a bit specific : for hierarchy in Database. But, i must help to do that !
David Jean Louis [2009-08-20 17:11 UTC] Did you look at the Tree PEAR package ?
Granted, it's old and need cleaning... but it seems to do the same thing as yours:
http://pear.php.net/package/Tree/docs/0.3.4/Tree/Tree_Memory_DBnested.html
(see add(), move(), remove() methods)
As it's unmaintained, it would make sense to give it a look and improve it, that would be very helpful.
Alexey Borzov [2009-08-31 22:03 UTC] Looks like a rehash of http://pear.php.net/package/DB_NestedSet to me. I see its author already registered PHP5 http://pear.php.net/package/DB_NestedSet2 but made no progress on that.
|