[TYPO3-core] RFC: Extend TypoScript values

Michael Stucki michael at typo3.org
Sun Feb 26 19:19:13 CET 2006


Sebastian Kurfuerst wrote:

> I just re-read the thread and I think as well that this feature is
> quite important. However, I don't like the suggestions about the
> markup too much yet...
> I'll comment on each I find and say why I don't like them too much:

Thank you!!

>     * pidlist._addToList
>       Could be mis-understood because we have _LOCAL_LANG as well for
>       example. Else, I would prefer this possibility.
>     * operators (+= ...)
>       As already pointed out, there are very few possibilities with
>       them as we are limited to += -= etc
>     * xyz.pidList{addToList} = 20,21
>       It is not possible to see that the action happens at parse-time.
>     * xyz.pidList += (list)20,21
>       This is a bit difficult to understand for the administrator why
>       he needs to supply the datatype here (as it doesn't have to be
>       supplied anywhere else)
>     * xyz.pidList._addToList_ = 20,21
>       I think it is bad practice to use an underscore at the end
>     * xyz.pidList->addToList = 20,21
>       It is not possible to see that this is action happens already at
>       parse-time and it is hard to understand that there is no method
>       called.

All agreed.

>     * xyz.pidList.proc.addToList = 20,21
>       Not bad, I think however that the "proc" directive looks
>       currently too "common" - and as we already have this one in RTE
>       TSconfig, it might be possible to mix it.

One of my last suggestions was "xyz.pidList.__TSparser__.addToList" but that
could even be written without the dashes:

xyz.pidList.TSparser.addTolist = 20,21

> I would suggest the following:
>     xyz.pidList.TSPROC.addToList = 20,21

Or that way. Yes, I would like this one.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list