[TYPO3-ect] Alternatives to TS
Michael Scharkow
mscharkow at gmx.net
Wed May 17 14:49:53 CEST 2006
Ries van Twisk wrote:
> Hey Elmar,
>
> bij this email you assume that we continue using this configuration array,
> only stored in a different format. If it's about that, we really cares
> about how it's stored.
> However, most people I know today have problems with the configuration
> itself
>
> The 'if' condition mentioned below is really cryptic, people would love
> to see something like this)
>
> myMenu = HMENU
> myMeny.1 = GMENU
> if (myMenu.isEmpty) {
> myMenu = TEXT
> myMenu.value = sorry, emty menu
> }
TS is a purely declarative language, and *if* there is a demand for
loops and conditionals, we should rather revert to plain PHP instead of
inventing yet another programming language.
I understand that the whole foo.bar.stdWrap.ifEmpty.bob < alice is a
major pain, but I see no alternative if we want to keep TS as a markup
language.
Maybe we should just straighten the semantics (like with stdWrap).
Cheers,
Michael
More information about the TYPO3-team-extension-coordination
mailing list