[Typo3-dev] extending extensions

"Kasper Skårhøj" kasper at typo3.com
Fri Jan 16 08:22:34 CET 2004


>Now I think I understand the problem - what is wanted is an "arbitrary" 
>stacking (or merging) of extending classes, right?

Yes, you are right.

The danger in one class overriding anothers function is of course not possible to solve. But at least two extension classes could extend the same class and in many cases different functions are overridden - or maybe just an internal variable. At least; It will get us a little further into flexibility but of course not solving all problems. But you can just as well argue that it is dangerous that two extensions can extend the same class and only the latter one loaded will succeed. This is just as dangerous as if the same function is overridden.


Anyways, this is my final words on this issue:

- Extension to classes was meant as LOCAL changes one can make to specific websites or local installations so that you can still update the TYPO3 source and keep backwards compatibility.
- Extension to classes should NOT be used in extensions in long-term - only shortterm fixes until an API that allows to connect to a given functionality has been integrated. 
- kasper

--------------------- o ---------------------
Mange kokke fordærver maden.








More information about the TYPO3-dev mailing list