How far to go with smarty templating?
| From: | Avern Williams | Date: | Sun, 23 Jun 2002 09:22:37 +0000 |
| Subject: | How far to go with smarty templating? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4970@lists.php.net to get a copy of this message | ||
Hi,
This may be more of a philosophical smarty question, but here goes. I have an existing php application that does a database query, formats the results, and then displays the formatted results within a webpage. To integrate this app with smarty, does it make more sense for me to:
A) have the existing app do the query and format the query results. Then have smarty display those results in a web page
OR
B) have the existing app only do the database the query, then have smarty both format the query results and display the entire web page
Again, I'm new to smarty, but I'd appreciate your opinions on whether one method has advantages over the other.
thanks,
Avern
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.