Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 17:48:27 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1071@lists.php.net to get a copy of this message
you have my vote on this style of syntax {=get.foo=} im not one to say how much hand holding smarty should do for designers.. i dont think one more variable type would hurt.. the docs for smarty are very good.. all a person has to do is read them.. just my 2 cents - Trust is a trick that dogs play. They dont want you to know how delicious they are. 'Boshin-tang' jeff s. pabian - developer - www.nol.org - 402.471.7814 On Thu, 28 Jun 2001, Monte Ohrt wrote: > > > > Is this really much different from $smarty.get.foo? > > > > It is a visual separation in the template between assigned and > > environment variables, otherwise it isn't much different. > > > > Come to think of it, I like the idea of having a visual separation > between assigned template variables and web server variables. > {$smarty.get.foo} looks much like an assigned variable, whereas {=foo=} > or {=get.foo=} is a visual separation between the two variable types, > and does not take away from the assigned namespace. To me, this is > follows our template variable syntax. {% %} for smarty internal > variables, {# #} for config vars, and {$ } for assigned vars. Adding {= > =} makes sense for a new variable type. Or at the very least, maybe we > should figure out a way to use {% %} for these variables. > > Monte > > --- > You are currently subscribed to smarty as: jpabian@nol.org > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ >

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