Re: [PHP Template] PHP Template Engine spec revision 0.35
| From: | Cyrix Haldir | Date: | Wed, 23 Feb 2000 20:40:24 +0000 |
| Subject: | Re: [PHP Template] PHP Template Engine spec revision 0.35 | ||
| References: | 1 2 3 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-214@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> On Wed, 23 Feb 2000, Cyrix Haldir wrote:
> > Somthing nice that maybe should be implemented is direct call to php
> > fuction... in a real-world example, allow designer to call directly
> > inside the template a "show_banner()" function can be very useful,
> > without make life too complex.
>
> I don't quite agree. Designer should never call functions in PHP. What
> might be under consideration in the future is having the engine use some
> sort of mapping file that maps some tags to function calls.
>
Yes, you probably are right. Just an idea, and such a mapping could be
useful.
--
Filippo "Cyrix Haldir" Caprioli Email plc1997@iol.it
Webmaster, Developer & Unix Admin ICQ 1886191
http://www.nextgame.it http://www.retroplay.com