Project

General

Profile

Actions

Feature #88769

closed

Introduce a generic EventDispatcher based on PSR-14

Added by Benni Mack almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
System/Bootstrap/Configuration
Start date:
2019-07-15
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

We've been waiting for a better solution than hooks and signal/slot for a long time. PSR-14 is here and solves this for us. Plus it's compatible with Symfony5 and other frameworks (Zend).

By relying on the interface, we don't enforce a specific framework.

DI helps us to register listeners (= hook consumers), which happens outside of ext_localconf.php

Mid-term goal is to get rid of Extbase's SignalSlot dispatcher implementation (deprecation in 10 LTS would be beneficial), and long-term goal is also to not have any hooks anymore in Core, but only events.

All hooks or signal/slot implementations can be used as Listeners so there is a backwards-compatible way!


Subtasks 1 (0 open1 closed)

Feature #88770: Add PSR-14 EventDispatcher logic based on DIClosedBenni Mack2019-07-15

Actions
Actions #1

Updated by Benni Mack over 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF