Re: Templates: reality check
| From: | Aidan Lister | Date: | Sat, 12 Jun 2004 05:27:43 +0000 |
| Subject: | Re: Templates: reality check | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30540@lists.php.net to get a copy of this message | ||
When I first started looking for a Template engine (a long time ago), I
found the amount of engines on PEAR so confusing I just went with smarty.
I _know_ there are users out there that find it very confusing.
"Alexey Borzov" <borz_off@cs.msu.su> wrote in message
news:40C96BB1.3020003@cs.msu.su...
> Greetings,
>
> Current download stats for PEAR template engines:
> HTML_Template_IT: 59,577
> HTML_Template_Xipe: 21,420
> HTML_Template_Sigma: 19,318
> HTML_Template_PHPLIB: 17,014
> HTML_Template_Flexy: 7,565
>
> I don't see any engine dying from lack of attention, I don't see hordes of
> mythical "confused users" complaining about the number of template engines
in
> PEAR. But I do see that our role model template engine is the one least
> downloaded by real PEAR users.
>
> On an "official PEAR template engine". Last time I checked (around PHP
version
> 4.3.6), a specific template engine (HTML_Template_IT) was bundled with
PHP's
> installation. Are there any plans to unbundle it?
>
> 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 / whatever
and
> that will be able to output the form through any of the template engines
you
> decide to support.