[TYPO3-core] Signals vs. Hooks

Markus Klein klein.t3 at reelworx.at
Tue Aug 26 11:45:30 CEST 2014

> Hi,
> On 08/25/2014 07:54 PM, Markus Klein wrote:
> > So in case the hook needs a change you only create a new interface (which
> inherits the old one) specifying the new data.
> > This way, old hooks can still access the data "the old" way and you have the
> unique chance to properly log access to old properties.
> > (assuming that we only use getters to access the DTO's properties)
> What could be a naming scheme? Would you add version numberso to the
> hook interface name? Like "FrontendInterface0101",
> FrontendInterface"0200" for versions 1.1 or 2.0 respectively?

Good question, actually. ;-)
Without thinking too long about it, I guess your suggestion is quite usable.
Generally, I don't expect the hooks to change that much. Usually we add new hooks or remove them completely.

> greetings,
> Bernhard

Kind regards

Markus Klein
TYPO3 CMS Active Contributors Team Member

More information about the TYPO3-team-core mailing list