Tuesday, July 10, 2012

Data handling inside the PHP classes

Hi!

I improved the data handling inside the PHP classes. Each class normally has a list containing its child nodes. eg: AchAchievement has a list of AchTask nodes.

They are now organized in a doubly linked list. In addition to that an AVLtree is built to find nodes by their ID number. This allows later manipulation of the nodes and even reorganization. We need that for the admin tool, since changes to the structure will first be reflected within the actually loaded structure and the stored in the database.

yours Cotare

No comments:

Post a Comment