开发者

Nested Set Model Php library

Hi I need to use the nested set model to mange produc开发者_Python百科t categories on my site. Does anyoune know of some good pre-built PHP libraries for handling nested sets in MySQL?


You could try "Baobab", it's a library I recently released.

http://www.sideralis.org/baobab/


It's a bit old, and could do with some refactoring, but I found a PHP Class "dbtree" on PHPClasses.org, which seems to do a fair job of it - http://www.phpclasses.org/package/2547-PHP-Manipulate-database-records-in-hierarchical-trees.html


You could use a PHP ORM solution like Propel or Doctrine, they both support nested sets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜