Walking the path is knowing the path
Posted on 2005-04-03 01:40:25 EEST.
I just forgot to mention about this last time , when I wrote about tree management. All Midgard objects has invisible and not active 'path' property now.
What does it mean?
When object is created or updated , midgard library "walks" the object's tree and build it's path. So , when we only initialize automagic database and storage creation , the path property could be added to object's table, and anyone could use already defined and set path to get object by path without any need to build it's path during ( very valuable sometimes ) request time. Articles created with MidCom may be get "outside" the MidCom and used with MidCom which makes midgard-php and MidCom much closer and almost the same midgard "extension".
What does it mean?
When object is created or updated , midgard library "walks" the object's tree and build it's path. So , when we only initialize automagic database and storage creation , the path property could be added to object's table, and anyone could use already defined and set path to get object by path without any need to build it's path during ( very valuable sometimes ) request time. Articles created with MidCom may be get "outside" the MidCom and used with MidCom which makes midgard-php and MidCom much closer and almost the same midgard "extension".