Re: renderers and refactoring
| From: | Sam Liddicott | Date: | Wed, 23 Jul 2003 21:14:38 +0000 |
| Subject: | Re: renderers and refactoring | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18603@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
Flexy: HTML_Template_Flexy_Compiler_Full <-- the current compiler engine (a mix of whats in Tokens and Flexy compiler() calls. HTML_Template_Flexy_Compiler_Class <-- sams Code to generate classes - as an extension of Compiler_FullThe structure and the factories all seem fine, I would also want a simple interface suhch as this: class_from_html($htmlfile); $page=new $mypage(); $page->output(); class_from_html would wrap the caching, the factory calls, etc, and just cause the class to be declared. Like a more clever kind of reqiure_once() Is this acceptable? Sam