[TYPO3-core] RFC #13313: ExtDirect API
Steffen Gebert
steffen at steffen-gebert.de
Tue Jan 26 14:10:22 CET 2010
Am 26.01.2010, 11:38 Uhr, schrieb Thomas Allmer <at at delusionworld.com>:
> why not use an argumentarray?
>
> TYPO3.Foo.bar( argumentarray, callbackfunction );
I'm not too deep into this topic, so excuse me, if the context you're
talking about is different - I really like to notation seen in all the JS
frameworks.
It's way more readable / extensible than the way TYPO3 does it with 5-8
parameters.
Also adding new parameters would be easier, as the number of the callback
parameter wouldn't change.
Steffen
More information about the TYPO3-team-core
mailing list