Re: yet another template
| From: | Paul Meagher | Date: | Wed, 07 Nov 2001 17:37:13 +0000 |
| Subject: | Re: yet another template | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2610@lists.php.net to get a copy of this message | ||
>
> > $tpl['value'] = $string;
> >and for a block/section/whatever-its-called
> >you only need to say
> > $tpl['blockname']['value'] = $string;
>
> I like the idea of an object/xml compatible structure.
I would like to see template engines that build on top of XSLT.
The current XSLT API, however, appears to be in beta for a long time now.
Too bad we don't also have Xalan support in PHP. I'm not a C guru so
don't look at me :-)
Seems to me that XSLT will become the recommended way to separate content
from presentation and that we are biding our time using non standard APIs
trying to effect this separation.
Regards,
Paul Meagher
> How would you integrate the template system with databases?
> Keeping key/value pairs in a text file is rather old-fashioned...
>
> Any idea?
> /Jean-Michel POURE
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>