Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.52

[email protected] (Zeev Suraski) Tue, 21 Mar 2000 21:24:50 +0200 (IST)
Newsgroups php.template
Message-ID <[email protected]>
On Tue, 21 Mar 2000, Andrei Zmievski wrote:

> On Tue, 21 Mar 2000, Zeev Suraski wrote:
> > > The template logic is not meant to replace PHP logic. See above.
> > 
> > But it *CAN*.  That's the problem.
> 
> The whole exchange can be summed up to this: you think that template
> logic can replace PHP. I, however, say that it can't. Having
> conditionals and automatic loops is far from being a programming
> language that can replace PHP logic. Even if I tried, I couldn't replace
> any one of the PHP scripts with what logic spec talks about. No way.

You sure did fool me, in your various examples of how much your template
code is easier than PHP code.

Zeev

-- 
Zeev Suraski <[email protected]>
http://www.zend.com/