PHP Classes

PHP Event based Inheritance Model: Register handlers to process events in a chain

Recommend this page to a friend!

  Author Author  
Picture of Smoren  Freelight
Name: Smoren Freelight <contact>
Classes: 15 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 6x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Smoren Freelight  >  PHP Event based Inheritance Model  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Event based Inheritance Model
Base name: event-based-inherita
Description: Register handlers to process events in a chain
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
March 2023
Nominee
Vote
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.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (4 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  src  
File Role Description
  Plain text file EventBus.php Class Class source
  Plain text file EventBusException.php Class Class source
  Plain text file ExampleFactory.php Class Class source
  Plain text file Listener.php Class Class source

Download Download all files: event-based-inherita.tar.gz event-based-inherita.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (4 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  src  
File Role Description
  Plain text file EventBus.php Class Class source
  Plain text file EventBusException.php Class Class source
  Plain text file ExampleFactory.php Class Class source
  Plain text file Listener.php Class Class source

Download Download all files: event-based-inherita.tar.gz event-based-inherita.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.