MPTtree, Hieararchical trees in a database table |
[eluser]m4rw3r[/eluser]
Current Version: 0.1.6-fix2 MPTtree is a model to handle trees in a Nested Sets structure in a database table. Features: xpath and paths to nodes ORM (currently without the relationship part), will be somewhat integrated with IgnitedRecord in the future Iterators (Only for PHP 5) Multiple instances with help of custom loader (optional) A simple admin interface, using Ext JS for drag n drop (a separate zip file, in wiki) Insertion, Moving, Deletion and Validation methods Now I have released version 0.1.6 which has got a few bug fixes, a new tree2array method and get_descendants have been modified so they additionally can return a depth column (only non ORM). 0.1.6-fix contains some additional bug fixes. MPTtree have currently only been tested with MySQL 5, and the queries are currently only written for MySQL (if someone wants to help me to port the SQL to other databases, or is it needed?). Included in the zip file is a (good?) manual which describes most of the methods (if not all you need to know). You can find the zip file here If you have any comments or suggestions, feel free to reply (I'd like to have some feedback on this). |
Welcome Guest, Not a member yet? Register Sign In |