[TYPO3-dev] Fully Blown StdWrap - Check it out!

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Thu Mar 16 06:09:23 CET 2006


JoH schrieb:
> 
> 
> OK - simply git you wrong with this point.
> So hooks should do the job, right?
> 

Hooks are always told to be preferable to XCLASS, but tslib_cObj
doesn't provide hooks. So your extension would be the first
opportunity to implement hooks. But it could also be bad for the
performance if every function get's a hook.

By the way. XCLASS is not the only possible pattern. You could also
build a kind of wrapper or multiple wrappers for tslib_cObj
functionality. I did this for the typolink function in ect extension.
That  pattern doesn't have the typical XCLASS conflicts.

Regards

Elmar















More information about the TYPO3-dev mailing list