PHP Classes

SigSlots: Trigger and process events with signal and slots

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 605 All time: 5,168 This week: 40Up
Version License PHP version Categories
sigslots 1.0GNU General Publi...5.0Design Patterns
Description 

Author

This package can be used to trigger and process events using the signal and slot design pattern.

There several classes to manage and process events.

Applications can register objects that trigger event occurrences by emitting signals of a given type.

The objects interested in handling events of may register slots.

When an event is triggered, the manager class processes the signal by calling all objects that registered a slot associated to the event type.

Innovation Award
PHP Programming Innovation award nominee
January 2007
Number 10
Signals and slots is a design pattern usually applied in desktop application development. It simplifies the development of event driven applications.

This package provides a PHP implementation, thus making it possible to use this design pattern also in PHP Web applications.

Manuel Lemos
Picture of Xander Guzman
Name: Xander Guzman <contact>
Classes: 1 package by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

 

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file MyEventTest.php Example Example.
Plain text file signal.php Class Base class for Signals
Plain text file signals.php Class Singleton Object to Manage the signals
Plain text file sigslots.php Class Primary file required to be included to use the library.
Plain text file slot.php Class Base class to define a Slot

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:605
This week:0
All time:5,168
This week:40Up