We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4673
    • 577 Posts
    @ taken from phpclasses.org

    1. MPTTA for PHP and MySQL - This class support forum
    Short description:
    Manage trees of data stored in a MySQL database

    Supplied by:
    Andrea Giammarchi

    Detailed description:
    This class can manage hierarchic trees of information stored in a MySQL database.

    It can add, move or delete branches inside a database tree created using the Modified Preorder Tree Traversal Algorithm described by Joe Celko in the DBMS Magazine in 1996.

    This class can run using PHP 4 and MySQL 3.X or later.

    @ comment
    I was wondering if this type of classes might not be useful for working with the categories. Might be able to get a better and easier parse with MPPTA.
      Tangent-Warrior smiley
    • What specifically did you have in mind Carsten? You got ecommerce on your mind? wink
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 4673
        • 577 Posts
        Actually, read about this at the other place ... Josh mentioned that this had a possible benefit of speeding up category building.


        And YES.

        I’ve been trying to work out the combination of modx + ecommerce.
          Tangent-Warrior smiley