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

  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: 27
All time rank: 160167 in United Kingdom United Kingdom
Week rank: 867 Up38 in United Kingdom United Kingdom Up


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Matthew McConnell  >  Queue Class  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  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
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1465 users
All time rank: 2339
Week users: 3 users
Week rank: 963 Up
 
  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%)
422
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
Accessible without login HTML file examples.php Example Examples
Plain text file class_queue.php Class Main Class
Accessible without login 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.