Re: Flexy question
| From: | Alan Knowles | Date: | Sat, 09 Aug 2003 02:16:55 +0000 |
| Subject: | Re: Flexy question | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-7129@lists.php.net to get a copy of this message | ||
Tony Bibbs wrote:
I'm very impressed with Flexy (kudos to Alan). As expected with a beta package the documentation is lacking a bit. I'd sure like to see a couple of working examples of: 1) use of nested templates http://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template-flexy.tag.methodthis relies on methods - and you deciding the behaviour.. of variables, caching etc.. Include is such a complex beast that I gave up in the end trying to find anything close to a logic answer to it..
2) using foreach control structure to show records from a DB. http://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template-flexy.attribute.foreachIn flexy it is assumed that you preload the data into an array and just loop through it in the template.
Admitted I haven't disected the code yet to figure it out myself but if anybody has such examples I sure would appreciate seeing some.Heavily under development at present (as hopefully the code has stabalized at last..) Regards Alan
Thanks, --Tony