Login   Register  
PHP Classes
elePHPant
Icontem

Queue Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Matthew McConnell  >  Queue Class  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Queue Class
Base name: queue_class
Description: Manage a queue of users competing to run a task
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1363 users
All time rank: 2396
Week users: 4 users
Week rank: 922
 

  Author  
Picture of Matthew McConnell
Name: Matthew McConnell <e-mail contact>
Packages: 1 Browse all classes by Matthew McConnell Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 26
All time rank: 157467 in United Kingdom United Kingdom
Week rank: 817 Up38 in United Kingdom United Kingdom Up


  Detailed description  
This class can be used to manage a queue of users competing to execute a task that can only be run by a single user at a time.

The class stores in a MySQL table the queue of users that want to execute a task.

An entry in the queue table is added for each user that wants to run the task.

While the current user is not the next to run the task, he must wait for his turn.

When the first user in the queue finishes to run the task, its queue entry is deleted to pass the turn to the next user in the queue.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Sufficient (75.0%)
Sufficient (75.0%)
Not sure (50.0%)
-
-
Sufficient (65.8%)
403
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
HTML file examples.php Example Examples
Plain text file class_queue.php Class Main Class
HTML file documentation.htm Doc. Documentation

Download all files: queue_class.tar.gz queue_class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.