[Typo3-dev] no strict inheritance; was: extending extensions

Michael Zedeler michael at zedeler.dk
Mon Jan 26 17:53:12 CET 2004


Hi Marc,

Marc Schlienger wrote:

> I'm following this discussion with interest, but I'm not sure if I really
> get the grasp of your problem with "extending extensions". Actually, it seems
> to me that strictly using inheritance is not the way to go here. Maybe someone
> could explain me what, in the end, is desired?

Very good question. I can only write how I have interpreted the other 
developers mails. I'll wait until they answer.

> [cut]
 >
> Following this discussion, I have understood that you need a plugable
> behaviour. Each extensions might add its own stuff to the whole processing. So
> please, tell me if I see it wrong here, but I would suggest using some
> combination of:
> 1) Mock Objects
> 2) Pipes and Filters

I think that both patterns are too complex for the initial task. Mock 
objects can easilly become sources of strange behaviour.

Pipes and filters might be a new way of reviving typoscript, by letting 
the typoscript config be the "stream" that is being passed between 
processing modules.

Regards,

Michael.




More information about the TYPO3-dev mailing list