Template designers (Was: RE: Smarty and speed)
| From: | Ivo Jansch | Date: | Mon, 10 Dec 2001 09:14:44 +0000 |
| Subject: | Template designers (Was: RE: Smarty and speed) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2234@lists.php.net to get a copy of this message | ||
Hello,
Rod K wrote:
href="{$links[sec1+3]}">{$makes[sec1+3]|default:" "}</a></td> </tr>I like this approach. I suggested the use of math in foreach before. :) But I only partly agree with what you are saying about designers and how easy it should be for them. Designers are creative. They can imagine more than programmers can implement. If today they want to alternate the color of each column, and you make something easy for it, then tomorrow they want something different. The biggest problem I face with designers is similar to the one you described: They don't grasp the concept of dynamic content. They come up with designs that rely on fixed texts, fixed numbers of columns etc. Conversations often go like this: 'You designed this cool box, which looks very nice, but what if the contentmanager types 15 words instead of 2?' 'Well uhm...' Usually this means that the programmers take the templates and change them to 'fit' the dynamic content. I don't know how to solve this problem, but I don't think it's up to smarty alone to solve this. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl