[TYPO3-core] Hook names

Philipp Gampe philipp.gampe at typo3.org
Mon Sep 23 12:18:30 CEST 2013


Hi Ernesto,

Ernesto Baschny [cron IT] wrote:

> I think that it should at least be namespaced somehow to avoid clashes.
> "pageInitPostProcess" could be a hook name in an extension too. Or one
> for the "Web>Page" module.
> 
> We already have XCLASS definitions in
> $TYPO3_CONF_VARS['SYS']['Objects'][<classname>], why not use some
> similar construct for hooks:
> 
> $TYPO3_CONF_VARS['SYS']['Hooks'][<classname>][<hookname>] ?
> 
> Or even at "top level" ($TYPO3_CONF_VARS['Hooks']) to avoid so much
> clutter of the SYS section.

Or use Signal/Slot pattern? Did anyone measure the performance impact?

Topic for Hannover?

Cheers
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-team-core mailing list