During the hackathon assumptions were made that an xml template would work well for this. I am leaning more toward a solution of completely random data. The generator functions themselves can bring in the template if need be.
http://stackoverflow.com/questions/4843945/php-tree-structure-for-categories-and-sub-categories-without-looping-a-query
Speaking of the iterator:
http://www.php.net/manual/en/class.recursivearrayiterator.php
http://www.php.net/manual/en/class.recursiveiteratoriterator.php
During the hackathon assumptions were made that an xml template would work well for this. I am leaning more toward a solution of completely random data. The generator functions themselves can bring in the template if need be.
http://stackoverflow.com/questions/4843945/php-tree-structure-for-categories-and-sub-categories-without-looping-a-query
Speaking of the iterator:
http://www.php.net/manual/en/class.recursivearrayiterator.php
http://www.php.net/manual/en/class.recursiveiteratoriterator.php