Re: Templates: reality check
| From: | Paul M Jones | Date: | Fri, 11 Jun 2004 12:18:24 +0000 |
| Subject: | Re: Templates: reality check | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30485@lists.php.net to get a copy of this message | ||
On Jun 11, 2004, at 3:22 AM, Alexey Borzov wrote:
For those working on common interface / base class / whatever for templates, I'd like to propose the following test. HTML_QuickForm is able to use 4 template engines for its output (ITX or Sigma, Smarty, Flexy) via customized renderers. I challenge the developers of the Grand Unified Template with the following: write a renderer for QuickForm that will use only the methods available in this interface / base class / whateverI think that is part of the goal; at least, that is part of my goal. The base class, or whatever we call it, should have the basic functions needed to output a template. That might be just me, though.
and that will be able to output the form through any of the template engines you decide to support.Can't say for sure on that; a unified template system may require rewriting of other packages in PEAR. Hadn't thought about that. :-( -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: your collaborative online documentation system. http://yawiki.com/ Yawp: a single-file foundation for PHP applications. http://phpyawp.com/