Re: [PHP3] Template Discussion
[email protected] (Andi Gutmans) Wed, 22 Mar 2000 19:18:48 +0200 (IST)
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 21 Mar 2000, Rasmus Lerdorf wrote: > > The template spec may be designed to meet a specific project or a project > > paradigm in ISPI, and I guess it does, since Andrei said a couple of times > > he needs each and every feature for an upcoming project. I can't argue > > with that. I can argue on whether this should be PHP's 'official', > > standard approach towards templates. I think it shouldn't be, and that we > > should have a much simpler, presentation-only templating system built into PHP. > > I don't actually think we should choose sides here either way. If > somebody wants a templating system that includes loops and conditionals, > they are likely going to get it from somewhere. It would be nice if PHP > could accomodate them. 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. Andi