[TYPO3-ect] Registry-Pattern for lib/div?

Elmar Hinz elmar07 at googlemail.com
Tue Aug 14 11:11:56 CEST 2007


>> No.
>> This objects are classical examples for singletons.
>> No need for a registry for them.
>> 
> Yes,
> 
> but what if you include several plugins on one page?
> 
> Then you have a x parameter-objects and x configuration-objects (for
> each plugin). Or do I understand something wrong?
> 

Hi,

each plugin/controller will need it's private version of the 3 objects. Each
plugin of the same type can still have different settings of the flexoform.
Also, by this values the parent plugins controll the behaviour of the
childs. 

But when a child has been executed, the objects should be cleaned up. As a
nice side effect that's what a stack would do.

Regards

Elmar










More information about the TYPO3-team-extension-coordination mailing list