Re: template engine...why???
| From: | Robert Cummings | Date: | Wed, 30 Apr 2003 15:02:32 +0000 |
| Subject: | Re: template engine...why??? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145786@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> > <myImage src="/foo.gif"/>
> >
> > And the template compiler would output:
> >
> > <img src="/foo.gif" height="23" width="45" />
>
> This sort of stuff is typically handled by the HTML authoring tool.
> Templating away HTML complexity has never been an issue in any situation I
> have ever worked in. People were happy with things like Dreamweaver to do
> their design. It is the back-end business logic along with site-wide
> layout stuff like headers and footers that I am trying to address here.
As I said, this was a trivial example, and should hardly be considered
representative of what a templating system can process.
Cheers,
Rob.
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'