Login   Register  
PHP Classes
elePHPant
Icontem

SigSlots: Trigger and process events with signal and slots

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 590 This week: 1All time: 4,809 This week: 1,141Up
Version License PHP version Categories  
sigslots 1.0GNU General Public Lice...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: 2754350 in United States United States
Week rank: 923 Up96 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:590All time:4,809
 This week:1This week:1,141Up