RE: [SMARTY] To who's right is right??
| From: | Rasmus Mohr | Date: | Tue, 18 Jun 2002 06:52:29 +0000 |
| Subject: | RE: [SMARTY] To who's right is right?? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4916@lists.php.net to get a copy of this message | ||
> You all made some good points. I was feeling guilty about
> having logic
> in the template, fearing that Im not
> separating php from the template.
Gerard don't do that, don't feel guilty! It's allright... ;-)
Seperating logic and templates makes maintenance easier (IMHO), but Bertrand
is right in claiming the need for some sort of functionality in the
templates. My "keep it simple" statement was maybe a bit vague - the point
was to keep the templates as simple as possible in regard to control
statements and so on.
Maybe it's just a question of taste?
--------------------------------------------------------------
Rasmus T. Mohr Direct : +45 36 910 122
Application Developer Mobile : +45 28 731 827
Netpointers Intl. ApS Phone : +45 70 117 117
Vestergade 18 B Fax : +45 70 115 115
1456 Copenhagen K Email : mailto:rmo@netpointers.com
Denmark Website : http://www.netpointers.com
"Remember that there are no bugs, only undocumented features."
--------------------------------------------------------------