[TYPO3-core] Signals vs. Hooks

Bernhard Kraft kraftb at kraftb.at
Mon Aug 25 14:13:59 CEST 2014


Hi,

On 2014-08-24 21:10, Philipp Gampe wrote:

 > However it does not solve to
> problem of allowing multiple observers for the same step.

Currently I didn't want to focus on the single/multiple aspect but 
ratheron the difference between observer and template pattern.

How would you (or anyone else) describe the major differences between 
hooks and the signal/slots? Would you call both an observer?

In fact the data return mechanism of signal/slots isn't very prominent 
and there should be a better solution.



If I find some time later on I will try to make a working-code proposal. 
Currently my time is rather sparse ...


cu,
Bernhard


More information about the TYPO3-team-core mailing list