Hi
I'm curently working on one application. I'm to improve some features but firstly I need to figure it out how all this stuff works. Unfortunatelly there is no documentation on this app. I spent 6 days and nothing. So I want to find simillar app with documentation. Maybe some of users of this forum will give a clue, if I describe the idea.
So how it's all build.
First template file is generated from Xis file. Xis file is nothing more like simillar to XML document. Xis class extends XML_Parser from pear lib. And it use standart StartHandler and EndHandler to generate sort of widgets ( called window p, br, nbsp form etc.) After the xis file is parsed the markups in tpl file are replace by content generated according to widgets. In input tpl we've got something like <!--MENU--> and in output we've got <!--MENU--> replaced by js based menu and so on with <!--Actions--> <!--HEADER-->. Some Smarty vars are inserted to.
Then an apprioprate *.php file is included which manage current execution in addition to $_GET values.
And in final step generated tpl is displayed.
My main problem is that I can't figure out from where the data to widgets (which replace <!--MENU--> and so one) is gathered. If I want to echo the content which replace the markup I get nothing and then the section which markup refered to is broken (even if have this data still passed to str_replace function).
I wonder if someone heard about php app which use simillar technics and have good documentation.
Any clue will be helpfull.
Simmilar Application
Moderator: General Moderators