Re: HTML_Template Interface recommendation
| From: | Alexey Borzov | Date: | Tue, 11 May 2004 05:47:08 +0000 |
| Subject: | Re: HTML_Template Interface recommendation | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29072@lists.php.net to get a copy of this message | ||
Hi!
Philippe Jausions wrote:
My point was that currently the template packages available on PEAR (and Smarty) are not easily interchangeable. If you want to use an instance of a template engine in an application, then you are bound to it. In my view, this is not acceptable, almost just as bad as mixing PHP and HTML codes.Have you read this stuff for starters? http://wact.sourceforge.net/index.php/TemplateView If yes, then please try to define the interface that can be used by both HTML_Template_PHPLIB and HTML_Template_Flexy. Come back with a working implementation of that.