PHP Classes

Event Driven: Manage abstract event processing

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-05-26 (4 months ago) RSS 2.0 feedStarStarStar 50%Total: 2,037 All time: 1,837 This week: 1,174Up
Version License PHP version Categories  
eventdriven 1.9GNU General Publi...4.3.10Design Patterns
Description Author  

This package can be used to manage the processing of abstract events that may occuring during the execution of a script.

It implements several abstract classes for processing events and registering event listeners based on the Observer design pattern.

The classes may be extended by scripts to handle application specific concrete event handlers.

Picture of Frédéric Minne
Name: Frédéric Minne <contact>
Classes: 2 packages by
Country: Belgium Belgium
Age: 36
All time rank: 5331 in Belgium Belgium
Week rank: 953 Down7 in Belgium Belgium Down



EventDriven is a PHP Event driven architecture with the following components :

  • EventManager : implements the event queue and registry that dispatch event to the corresponding listeners
  • EventListener : listen to the occurence of a given event type and call a callaback method or function when this event occurs
  • EventDriven : an event driven class that declare event listener to the event manager
  • EventGenerator : a class taht generate events
  • Event : the basic event class

<div> <pre> +---------------+ |EVENT GENERATOR| +------+--------+ | | | +-----+ +------------+ +-----+EVENT| |EVENT DRIVEN| | +-----+ +-----+------+ | | | | +-----+-------+ +------+-------+ |EVENT MANAGER+-----------+----------+EVENT LISTENER| +-------------+ | +--------------+ | +--+--+ |EVENT| +-----+ </pre> </div>

Copyright notice

(see COPYING for more details)

Copyright (c) 2005-2013 Frederic Minne <>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU LESSER General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  Files folder image Files  
File Role Description
Files folder imageevent (6 files)
Accessible without login Plain text file COPYING Lic. License
Accessible without login Plain text file Doc. Documentation
Accessible without login Plain text file sample.event.php Example Sample code for event driven architecture
Accessible without login Plain text file VERSION Doc. version history

  Files folder image Files  /  event  
File Role Description
  Accessible without login Plain text file event.lib.php Aux. Auxiliary script
  Plain text file Event.php Class Class source
  Plain text file EventDriven.php Class Class source
  Plain text file EventGenerator.php Class Class source
  Plain text file EventListener.php Class Class source
  Plain text file EventManager.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%Total:2,037All time:1,837
 This week:0This week:1,174Up
 User Ratings  
 All time