[TYPO3-mvc] Dependency Injection and Hooks

Martin Kutschker masi-no at spam-typo3.org
Fri Oct 29 09:42:37 CEST 2010


Am 28.10.2010 15:28, schrieb Fernando Arconada:
> Hello
> 
> Time ago i have read that when Dependency Injection is ready there will 
> be a better method than hooks to extend extensions (events with the 
> observer pattern?).

What has Dependency Injection to do with the Observer pattern?

Masi

PS: The hooks of TYPO3 when they take multiple hook implementations (ie an array in TYPO3_CONF_VAR)
are already observer patterns. They just have other names for the participants.


More information about the TYPO3-project-typo3v4mvc mailing list