[TYPO3-dev] Fixing the last 20% and TypoScript annoyance

Dmitry Dulepov dmitry.dulepov+t3ml at gmail.com
Tue Feb 9 14:46:54 CET 2010


Hi!

On 2010-02-09 14:54:24 +0200, JoH asenau said:
> I took this one from the core list to get more ideas.
> The original thread was about adding stdWrap to includeJS.name like:
> 
> includeJS {
>     name = blah
>     name.stdWrap.wrap = blubb|blubb
> }
> 
> my first idea was to make it even shorter
> 
> includeJS {
>     name = blah
>     name.wrap = blubb|blubb
> }
> 
> on the other hand most of the TS elements do it with a special stdWrap
> parameter.
> 
> So IMHO we should streamline all of the TypoScript elements to stick to the
> same syntax and to remove inconsistencies as well as redundancies.

I'd love to have stdWrap for everything on the top level (without extra 
'stdWrap' property). This is similar to OBTS approach and it would be 
really flexible. On the other hand it means extra checks in the code 
because we do not want to call tslib_cObj::stdWrap() with an empty 
array due to performance reasons.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core team member / TYPO3 security team member 
Read more @ http://dmitry-dulepov.com/





More information about the TYPO3-dev mailing list