PHP Classes

How to Separate PHP Event Listener Setup from the Task Execution Using Separate Configuration Scripts - Lazy PHP Event Handler package blog

Recommend this page to a friend!
  All package blogs All package blogs   Lazy PHP Event Handler Lazy PHP Event Handler   Blog Lazy PHP Event Handler package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Separate PHP E...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: Lazy PHP Event Handler

Many applications need to execute tasks that can take some time to complete.

One way to process the results of those tasks is to use event handlers that register callback functions that the handlers invoke after the tasks are complete.

This package allows developers to configure event handlers from configuration scripts that are loaded dynamically. This possibility makes it possible to separate the task executing from the task processing using different PHP source code files.




Loaded Article

About the Lazy PHP Event Handler Package

The package Lazy PHP Event Handler 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 event handlers to be loaded dynamically

Here follows in more detail what it does:

This package can register event handlers that are loaded dynamically.

It can register event handlers with code from separate configuration PHP script files.

When the events are triggered, the package can load the handler dynamically and call it.

The package can also cache the compiled event handler code in PHP scripts to be loaded faster next time the respective is triggered.

Conclusion

The Lazy PHP Event Handler 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,614,687 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.




  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Lazy PHP Event Handler Lazy PHP Event Handler   Blog Lazy PHP Event Handler package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Separate PHP E...