RE: [PHP] Seperating presentation from logic
| From: | John Holmes | Date: | Wed, 26 Jun 2002 13:14:52 +0000 |
| Subject: | RE: [PHP] Seperating presentation from logic | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103954@lists.php.net to get a copy of this message | ||
> Wouldn't you ultimately be better off moving most of this sort of
thing
> into style sheets and then have the designers play with the style
sheets
> instead?
Sure, if all they are doing is playing with fonts, colors, sizes, etc...
What if your designer wants to change from a two column table to a four
column table. Or change the menu from a vertical column on the left to a
horizontal row on the bottom that's run by images instead of text.
Do you trust your designer to do all that and not mess up any of your
PHP code that's thrown in with the HTML? That's why you use templates...
---John Holmes...