Re: [PHP3] Re: [PHP Template] Re: [PHP3] Template Discussion

[email protected] (Sascha Schumann) Wed, 22 Mar 2000 20:55:34 +0100
Newsgroups php.template
Message-ID <[email protected]>
On Wed, Mar 22, 2000 at 08:11:54PM +0200, Andi Gutmans wrote:
> On Wed, 22 Mar 2000, Andrei Zmievski wrote:
> 
> > On Wed, 22 Mar 2000, Andi Gutmans wrote:
> > > Don't forget that when you started writing PHP/FI a few years ago you were
> > > trying to do what Andrei is doing now.
> > > Slowly you added loops and conditional statements like Andrei wants to do 
> > > now. What happened was that PHP evolved from this.
> > > I see this as starting a new programming language and not as a template
> > > system, thus, I don't see how PHP can accomodate it. It would be like PHP
> > > accomodating Visual Basic.
> > 
> > It's nothing like it. No one wants to rewrite PHP in the template
> > language. Looping is only implicit.
> 
> Well I guess we're not getting anywhere as you don't understand our point.
> Just keep in mind that what you are doing is what PHP started out with,
> and don't be surprised that people will want your template system to
> include more complex expressions and loops as time goes by. Think of where
> that will take you. Maybe it is where you want to go but I doubt it is...

Perhaps you feel better when we clearly state the purpose and the 
intended design limits of the template engine.

It's not like Andrei or anyone else has too much free time to reinvent
PHP. The template engine will also not become a separate language or
compete with PHP, even if it can do simply loops. 

And of course, feature requests which are outside of the template engine's
scope are denied.

Leave the complex logic to the programmer, enable the designer to do
his/her job solely. I think that's the right strategy.

- Sascha