[Typo3-dev] TypoScript 2: a bit of a RFC
Dimitri Tarassenko
mitka at mitka.us
Wed Nov 30 17:29:48 CET 2005
> > > page[10](HTML) {
> > > ...
> > >
> >
> > Hmmm, looks more complicated to me then the original syntax. 4
> > additional signs.
> >
>
> Not 4, _2_.
>
> page.10 = HTML
>
> 12 characters, ignoring spaces.
>
> page[10](HTML)
>
> 14 characters.
Plus, you're saving on having to type "page.10" twice, you should be comparing:
page.10 = HTML
page.10.value = something
to
page[10](HTML) {
value = "something"
}
or even
page[10](HTML).value = "something"
On another hand, maybe we should follow the more common object
definition syntax, and emulate
int i = 5;
In other words,
HTML page[10] {
value = "something"
}
This, however may be too much a shift for the current TS users.
--
Dimitri Tarassenko
More information about the TYPO3-dev
mailing list