Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 18:41:32 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1074@lists.php.net to get a copy of this message
I agree that adding a new syntax isn't a good idea _IF_ there is going to be a need for more and more syntaxes. Realistically, these web server variables _should_ be the end of any new variable syntax (this would be the only new one since the beginning of Smarty). But I guess we can't predict the needs of the future, thus the {$smarty.foo.bar} syntax is more flexible in this respect. Hojtsy Gabor wrote: > > The next new style eg. {~ ~} will be still 'only one more'... > And the next {| |} will be too... and so on. > Although I am not a designer, I am on the side of > "keep it simple" [tm], and do not introduce new things... > > You are not new to smarty, you know the current var types. > Imagine a newcomer, he should learn more and more to get > familiar with smarty. A predefined $smarty var would be > as easy as possible... > > Goba

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