[Typo3-dev] Welcome back in the "goto-age"?

Ingmar Schlecht ingmar at typo3.org
Thu Mar 24 12:45:25 CET 2005


Michael Stucki wrote:
> Just a little question: Since they are meant to be temporary - would it hurt
> if we remove the XCLASS-lines at the end of kickstart-generated files?
> 
> The feature would still be available but it's not so inviting to extend them
> anymore like it is right now...

I don't get the idea behind that.

If these lines wouldn't be there, XCLASSes made no sense at all any more.

The advantage of them currently is, that you can add functionality 
*without touching the original file*!
What you suggest, removes this advantage, so you can also drop the whole 
concept of XCLASSes.

So removing that line is really a bad idea!

>>10 NEWS EXTENSIONS is a mess, but when someone finally distills the
>>experience and knowledge from those 10 into the FINAL news extension to
>>beat them all, was it then a waste!? Think about such cases as an
>>incredible base of experience upon which we can consciously join forces
>>to produce the final version! Think positively!
> 
> 
> Yes it's nice, but it's a lot of work for the person who merges them. It
> could be much easier if people would send patches to one single extension
> maintainter.

Yes, true.

But I don't get the fuss that's being made of XCLASSes.

The authors have the free choice to either make patches and ask 
developers to integrate them or make XCLASSes, or ask for Core devs to 
create Hooks. They can even choose to make a combination of those 
concepts, for example they can use XCLASSes for TYPO3 versions older 
than 3.8 and for newer TYPO3 versions the extension can use HOOKs.

Conclusion: We don't need to change the technical concept. But we need 
to raise awareness of the problems of XCLASSing and should actively 
advertise HOOKs and Patches to the Core.

- Ingmar




More information about the TYPO3-dev mailing list