[TYPO3-ect] TODO
Daniel Brüßler
info at -remove-patchworking.de
Sat Jan 27 11:34:19 CET 2007
Hello,
the concept to have a chain is new to me. Very nice, I like it. It's
better than the priority-value of services and better to overwrite a
whole big function as we have with xclasses.
Is there a paper (I mean PDF or something) where the concept with the
before-or-after and the stacks are descipted?
The idea with the COA-like array-index to register to a "chain" is
great. So an addon can decide to overwrite the 200 or put itself as 210
behind it.
Only problem maybe: When there're many functions who want to register
between 190 and 200 (when the 190 is something very important) we would
have something like a traffic-jam. ;-)
kind regards
Daniel Brüßler
Elmar Hinz schrieb:
> Am Fri, 26 Jan 2007 17:52:03 +0100 schrieb Nikolas Hagelstein:
>
>>> The disadvantage of PEC is that only one of the extending actions can
>>> "win" the job.
>> Yes right due to its overwritte character. That is why we should think about
>> a before after stack.
>>
>
> As we work with a chain of SPL objects, how about using TS to define this
> stack?
>
> xyAction = ACTION
> xyAction {
> 100 = SPL
> 100.class = tx_myext_classX
> 100.configurations {
> ...
> }
> 200 = SPL
> 200.class = tx_myext_classY
> 200.configurations {
> ...
> }
> ....
> }
>
>
>
>
>
>
>
>
>
>
>
More information about the TYPO3-team-extension-coordination
mailing list