Re: [PHP Template] PHP Template Engine spec revision 0.35
[email protected] (Andrei Zmievski) Wed, 23 Feb 2000 14:30:18 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
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. -Andrei Computer, if you don't open that exit hatch this moment I shall zap straight off to your major data banks and reprogram you with a very large axe. -- Douglas Adams / The Hitchhiker's Guide to the Galaxy