Author: Manuel Lemos
Updated on: 2023-03-25
Posted on: 2023-03-25
Package: PHP Event based Inheritance Model
Event processing is an approach that developers can use to connect different parts of an application.
This way, a change in one part can trigger actions in other application parts.
For instance, if a user can push a button on a Web page, the application can use event processing to trigger the actions associated with the application button that the user pushed.
This package implements an inheritance model to process registered events.
This way, the package allows applications to implement event handlers that can process the events or pass the events to another event handling function registered to handle the same event.
About the PHP Event based Inheritance Model Package
The package PHP Event based Inheritance Model is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Register handlers to process events in a chain
Here follows in more detail what it does:
This package can register handlers to process events in a chain.
It allows the applications to register callback functions that will be called when an event with a given name is triggered.
Multiple callback functions may be registered for the same event.
When an event is triggered, the package will call the last callback function registered to handle that event.
The event handler function that was called may call other callback functions that were registered before to handle the same event.
The PHP Event based Inheritance Model can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,607,543 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.