RE: Smarty and speed
| From: | Peter Bowyer | Date: | Fri, 07 Dec 2001 21:44:43 +0000 |
| Subject: | RE: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2208@lists.php.net to get a copy of this message | ||
At 03:18 PM 12/7/01 -0500, Pablo wrote:
I hope I did not give the impression that I am questioning the use of a templating system. I realize the benefits to this very well. What I cannot see is the benefit (at least for my purposes) of the way Smarty handles templating. It seems to me that it is a scripting language all of it's own. It's a subset of commands that are specific to content and layout logic. So it's like PHP, just smaller! :)Think of Smarty as a macro language - you could do all it does in PHP, but it's a lot easier to use Smarty :-) I particularly like he ability to write custom functions - I know I could use PHP functions, but for some reason I don't like to mix the PHP in my scripts. HTH, Peter. -- Maple Design - http://www.mapledesign.co.uk