Balazs Halasy | 2 Mar 2006 16:59
Picon
Favicon

Re: Re: [Sdk-public] Template Language

> The opposite of this is though that people who are much better known to
> the system get frustrated because they can't do something they
> would expect they can do with a for-loop. Do we want those people to
> complain about eZ publish being target for newbies only?

Good argument; but still - do we really want people to do complex things using 
the template language? Isn't the template language supposed to be used just 
to display things and possibly contain lightweight logic? Using your 
argument, I could say that we should add a lot of other things to the 
template language or else C++/JAVA/PHP programmers will be upset.. :)

> This is a double egded sword and it is hard to make a good decision that
> pleases users all across the board. As many of us already said that the
> for() loop is probably not needed for most of the normal usage in eZ
> publish (foreach would cover most cases) I don't think it's much of a
> problem to make the construct powerful (and 'complex'). Newbies won't
> use it, and advanced users can then still harnass the power of it.

Yep, this is also a good reason, but when you are teaching it to people you 
usually want to show them what they can do with the system. Learning about 
foreach, for, etc. are one of the first things you do... so, should we just 
skip the for-construct when teaching eZp to people? I do not think that's a 
good idea.

Allman

--

-- 
Balazs Halasy
System Developer
bh@... | eZ systems | ez.no


Gmane