Re: template engine...why???

From: Date: Wed, 30 Apr 2003 21:06:23 +0000
Subject: Re: template engine...why???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145861@lists.php.net to get a copy of this message
> 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. -Rasmus

« previous php.general (#145861) next »