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

[email protected] (Zeev Suraski) Tue, 21 Mar 2000 20:39:41 +0200 (IST)
Newsgroups php.template
Message-ID <[email protected]>
On Tue, 21 Mar 2000, Cliff Rowley wrote:

> As far as saying "PHP already does what we need..." is not an
> argument.  Adding a template engine bears no effect on those who choose
> not to use it.

But it does!  Imagine that the template engine goes live, in say, two
months.  After a month, or two months, or half a year - sooner or later -
people will start using it.  They may be 0.1% of the PHP users, they may
be 20% of the PHP users.  They will write code based on this whole new
language.  Some of them will release some of that code in the various code
exchanges.  And wham - someone that until now was quite capable of
understanding PHP scripts that he downloaded, will now bump into something
that doesn't even reminds him of PHP, but for some odd reason, is also
considered PHP code.  Time to look for the spec to figure out what it's
all about.

In my opinion, that's bad.  It has nothing to do with the language Andrei
suggested.  He may argue that it's better, I may argue that it's not.  It
doesn't matter.  The point is that PHP should not feature two
completely different syntaxes to do the same thing.  It's bad for the
users.

Zeev

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