PHP Classes
elePHPant
Icontem

Universal PHP Event System: Manage events with the Observer/Publisher patterns

Recommend this page to a friend!
  Info   View files Example   View files View files (28)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-10-19 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 276 All time: 7,484 This week: 330Up
Version License PHP version Categories
falcraft-event 1.0MIT/X Consortium ...5.3PHP 5, Language, Design Patterns
Description Author

This package can manage events with the Observer and Publisher design patterns.

It provides generic base classes that should be extended to create objects that observe and process events of interest, as well objects that define events to be processed by the observer classes.

Events can be processed by multiple observers and observers can listed to different types of events.

  Performance   Level  
Name: Asher Wolfstein <contact>
Classes: 15 packages by
Country: United States United States
Age: 36
All time rank: 1127150 in United States United States
Week rank: 286 Up25 in United States United States Up
Innovation award
Innovation award
Nominee: 5x

 

  Files folder image Files  
File Role Description
Files folder imageFalcraft (1 file, 3 directories)

  Files folder image Files  /  Falcraft  
File Role Description
Files folder imageEvent (8 files, 2 directories)
Files folder imageexamples (1 directory)
Files folder imagePatterns (2 files, 1 directory)
  Accessible without login Plain text file falcraftLoad.php Aux. Script Loader

  Files folder image Files  /  Falcraft  /  Event  
File Role Description
Files folder imageException (2 files)
Files folder imageResource (4 files)
  Plain text file Actor.php Class Bind event to execution
  Plain text file Aggregator.php Class Aggregate Publishers (Observers)
  Plain text file Conduit.php Class Multiple Publishers and Observers
  Plain text file Filter.php Class An event predicate (filter)
  Plain text file GenericEvent.php Class Generic (Suggested) Event Object
  Plain text file Handler.php Class Event Handler
  Plain text file HandlerPriorityQueue.php Class A Priority Queue of Observers
  Plain text file Tracker.php Class Event Manager Class

  Files folder image Files  /  Falcraft  /  Event  /  Exception  
File Role Description
  Plain text file ExceptionInterface.php Class Local Exception Interface
  Plain text file InvalidArgumentException.php Class Local Invalid Argument Exception

  Files folder image Files  /  Falcraft  /  Event  /  Resource  
File Role Description
  Plain text file AbstractEvent.php Class Basic generic suggested event
  Plain text file AwareInterface.php Class Interface for event aware objects
  Plain text file FilterInterface.php Class An event filter (predicate)
  Plain text file TrackerInterface.php Class The interface for an event manager

  Files folder image Files  /  Falcraft  /  examples  
File Role Description
Files folder imageEvent (8 files)

  Files folder image Files  /  Falcraft  /  examples  /  Event  
File Role Description
  Accessible without login Plain text file Actor.php Example Event Actor (Binder) Example
  Accessible without login Plain text file Aggregator.php Example Event Aggregator Example
  Accessible without login Plain text file Conduit.php Example Event Conduit Example
  Accessible without login Plain text file Filter.php Example Event Filter Example
  Accessible without login Plain text file GenericEvent.php Example Generic Event Example
  Accessible without login Plain text file Handler.php Example Handler Example
  Accessible without login Plain text file HandlerPriorityQueue.php Example Handler Priority Queue Example
  Accessible without login Plain text file Tracker.php Example Tracker Example

  Files folder image Files  /  Falcraft  /  Patterns  
File Role Description
Files folder imageResource (3 files)
  Plain text file Observer.php Class Observer Pattern Class
  Plain text file Publisher.php Class Publisher Pattern Class

  Files folder image Files  /  Falcraft  /  Patterns  /  Resource  
File Role Description
  Plain text file ObserverInterface.php Class Observer Pattern Interface
  Plain text file PublisherInterface.php Class Publisher Interface
  Plain text file StateInterface.php Class Object State Representation

Downloadfalcraft-event-2015-10-19.zip 44KB
Downloadfalcraft-event-2015-10-19.tar.gz 24KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP Configuration Trait Download .zip .tar.gz For configuring the objects Required
Abstract Data Types Download .zip .tar.gz Makes up part of objects (like Map) Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:276
This week:0
All time:7,484
This week:330Up