Re: template engine...why???
| From: | Robert Cummings | Date: | Wed, 30 Apr 2003 21:15:49 +0000 |
| Subject: | Re: template engine...why??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145862@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> > So in order for a designer to change the look of the user table, he would
> > have to edit the user_table() function in the template helpers layer? This
> > seems to me that you are still mixing presentation with code, just
> > obfuscating the fact by breaking things into multiple "layers".
>
> Yup, in the end you will always have an intersection point between
> presentation and logic. There is no way around it since the final thing
> you present is a merge of the two. The whole question of templating is
> about where you put this intersection point.
This I absolutely agree with :)
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. |
`---------------------------------------------'