Re: New looping method proposal

From: Date: Mon, 19 Nov 2001 14:41:36 +0000
Subject: Re: New looping method proposal
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1957@lists.php.net to get a copy of this message
Ivo Jansch wrote: > > I don't fully agree with the remark from some people that template > designers have to learn stuff, so it doesn't need to be easy. > I think that if people can learn easy stuff, they shouldn't need to > learn hard stuff. The 'hard stuff' is not that hard (personal opinion). Surely, people will take the easy way out. Then they will try to solve thing with the 'easy' tools, become frustrated and leave Smarty. Hmm.... > It's just something that came up when looking at the template designers > I work with. sections are so unnatural, that poeple try all sorts of > things to make it look more natural. (Naming a section 'i' is a common > thing I've seen) The computer itself is an abstraction. EVERYTHING about it is unnatural. The web is abstract. HTML is abstract. The template is an abstraction. Most people adapt to that situation fine. So, does it really matter if they write {section} or {foreach}? Depends on who you are, and what you want. "Foreach" may sound absolutely fantastic to a programmer. Other might feel more comfortable thinking about a dynamic section on the page, that they fill with contents. Adding code that adds absolutely no functionality sounds a bit odd to me. How many template designers have _real_ problems with the current design? /Anders

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