[thelist] Re: PHP inside or outside?

Douglas Livingstone Evolt at neuance.net
Mon May 3 10:58:32 CDT 2004

> IMHO "PHP inside or outside" is the wrong question entirely.  Mixed code  
> and HTML is a maintenance nightmare


This is an advocation of using a PHP based templating engine. The basic  
idea is that it isn't "mixed code"which is the problem, but "mixing  
application logic and presentation" is the problem; as you almost said  

It basically says:

{$var} is really  <?=$var;?>

What do you think of this technique?

For me it equates to the "PHP in XHTML" solution.


More information about the thelist mailing list