PHP Classes

SigSlots: Trigger and process events with signal and slots

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-01-06 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 593 All time: 4,835 This week: 1,360Up
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
Age: 32
All time rank: 2778352 in United States United States
Week rank: 1764 Up203 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%Total:593All time:4,835
 This week:0This week:1,360Up