Re: [SMARTY] conceptual questions
| From: | Robby Russell | Date: | Sat, 03 Apr 2004 05:09:44 +0000 |
| Subject: | Re: [SMARTY] conceptual questions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11226@lists.php.net to get a copy of this message | ||
kidex wrote:
Hello, i have to implement smarty on a existing project and a have conceptual questions. I have a catalogue of products. For each item the script calls a function to format it into a html-table block. Is it better to give the template designer a array of values for each block? Or is it possible to use for each function call a template. What is faster / better?In my personal opinion, it'll be better to send an array of values to a template. How different are your product pages? -Robby -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com rrussell@commandprompt.com | Telephone: (503) 222.2783