Re: [PHP Template] PHP Template Engine spec revision 0.35

[email protected] (Cyrix Haldir) Wed, 23 Feb 2000 21:40:24 +0100
Newsgroups php.template
Organization Retroplay, http://www.retroplay.com
Message-ID <[email protected]>
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 [email protected]
Webmaster, Developer & Unix Admin               ICQ 1886191
http://www.nextgame.it                          http://www.retroplay.com