Re: PATCH: namespaces + special variables

From: Date: Fri, 12 Oct 2001 14:28:51 +0000
Subject: Re: PATCH: namespaces + special variables
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1690@lists.php.net to get a copy of this message
Hi! On Fri, 12 Oct 2001, Andrei Zmievski wrote: > > are my suggestions that silly? However, I keep trying, even if I'm the > > only one using it. > I think you may have answered your own question. ;-) Ouf, at least one answer :) Ok, did you take a look at the variable handling code? Even if you don't want to use definable namespaces and/or prefixes, I think the generalized variable handling is much cleaner than three different functions for three different kinds of variables. namespaces/prefixes is just a nice side-effect. (And should BTW not impact smarty's performance) As for the "$smarty" var, I really miss the global space in current versions. Actually compiling these calls into direct data access opens up the possibility to include far more into this variable, w/o impacting performance by assigning tons of unused data. The definable "special var" is, again, just a nicety of the concept. If I find some time, I'll go for the storage container concept this week-end. The same classes could then be used for templates, compiled templates, cache files and config files... GREAT! Please don't take my activities as an assault or something, but If I've biten into something, the ideas just flow... Don't conform! IkKampfCaspar75

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