On Fri, 12 Nov 1999, Jim Winstead wrote:

> On Nov 10, Mark Cogan wrote:
> > At 10:10 AM 11/10/99 -0800, Ian Mahuron wrote:
> > >I may implement IF/LOOPS/etc.. but not until I see the need.
> > 
> > Those introduce more complex problems.
> 
> And they are, of course, inevitable with almost any templating
> system.

You know, PHP was once just a templating system.  I had special tags that
I replaced with the output from the business logic I wrote in C in
order to avoid needing to recompile my code just to tweak the
HTML.  Then I figured it would be a good idea to add stuff like
IF/LOOPS/etc so I could manipulate my tags a little bit.

Now, 5 years later, people are writing template systems that sit on top of
PHP because they are writing business logic in PHP which means yet another
template system is needed to separate code from layout.  

I wonder how many layers of templates we will have 5 years from now.

It's a slippery slope...

-Rasmus

Reply via email to