Jira issue originally created by user johannes:
I have two ideas for improving the event manager.
Comment created by @guilhermeblanco:
I'm still a huge fan of DOM2 Events.
I even have the code somewhere here, but that would break BC.
Comment created by marijn:
Would you care to elaborate on your DOM2 Events implementation Guilherme?
[~marijn] sure (like... 1 year later!)
DOM2 Events ( http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/ )
The idea is to create an event system where you can control the flow over the listeners, such as prevent the default operation or stop propagation.
I'm a big fan of this because that way any piece can be easily decoupled from the base system and become a specialized event if needed. It also can be controlled depending on the conditions to be introspected by an specific listener.
I also provided a very initial draft 2 years ago, as of #153
Comment created by @doctrinebot:
A related Github Pull-Request [GH-153] was closed:
A related Github Pull-Request [GH-153] was assigned:
Issue was closed with resolution "Incomplete"