Re: [SMARTY] Smarty Light

From: Date: Thu, 08 Jul 2004 10:31:57 +0000
Subject: Re: [SMARTY] Smarty Light
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11538@lists.php.net to get a copy of this message
All the listed features (except sections maybe) are loaded on request only and hence do not affect performance... moreover, if you take a closer look at the smarty object, you can easily "turn off" features loaded by default, hence I do not see a point in even thinking about smarty light regards, alex Pedro Teixeira wrote:
I couldn't agree more. I don't code my business logic with smarty. All the "complicated stuff", like building the dynamic menu structures I do in a PHP business layer, and use smarty to present already flattened structures. I use Smarty for what it is good at: separating the business logic from presentation and the cache mechanism. Cheers, Pedro Teixeira On Thu, 2004-07-08 at 10:30, Ara Anjargolian wrote:
Hi, I'm very new to this newsgroup so please excuse me if this has been discussed before, but is there any interest at all in a "Light" version of Smarty which would basically be Smarty with some of the more sparsely used functionality safely ripped out? I am building a large web app and using Smarty and I was considering of doing something like this. I keep hearing complaints of how Smarty is bloated and while I do not necessarilly share these sentiments I thought maybe it might be nice to have a Smarty-compatible template system that is smaller, more limited. For example in our templates we don't ever forsee the need to use: filters {section} (iterating through mulitple arrays is nice but, for us anyway, not essential) any "security" settings {strip} {capture} {insert} and a few other little things. On the otherhand I would tend to keep a few of the features that IMHO make Smarty Smarty such as the clever plugin architecture and fairly sophisticated caching system. Anyway, I just wanted to get other peoples take on what a Smarty Light would/should look like. I think this is a something that I will get around to in the next few months and could certainly make it public if other people would find it at all useful. Kind Regards, Ara


« previous php.smarty.general (#11538) next »