PHP Classes
Icontem

Class: Daemon


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michal Golebiowski  >  Daemon  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Daemon Support forum
Base name: daemon
Description: Create and control Unix daemon processes
Related top rated classes: , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 3237 users
All time rank: 654
Week users: 10 users
Week rank: 764
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Michal Golebiowski
Name: Michal Golebiowski <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Home page: http://www.webarchitect.pl/
Age: 26
All time rank: 366
Week rank: 355

Innovation Award

PHP Programming Innovation award nominee
March 2005
Number 2
Many sites need to run background tasks to execute the jobs that are important for their operation, like for instance, process incoming e-mail, deliver newsletters and other kinds of mailings, monitor the usage of resources, cleanup or backup information, etc..

Some background tasks need to run continually in order to provide a prompt response to events that may happen anytime. Under Linux and other Unix-like systems the programs that run continually to perform this kind of tasks are called daemons.

This class simplifies the creation and management of daemon processes making them work like common Unix daemon programs by, among other things, storing the daemon process in a file and cleanup and exit when receiving the termination signal.

Manuel Lemos

Groups

Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes

Detailed description

This package provides a base class that can create and manage daemon processes on Linux or other Unix-like systems.

This base class can fork the current process and store the child process identifier in a pid file. The forked process enters an infinite loop executing its job until it receives a termination signal.

The base class is not useful by itself. It needs to be derived to implement daemon job as a function of the sub-class. A daemon job subclass is provided as an example.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (88.9%)
Good (80.6%)
-
Sufficient (75.0%)
-
-
Sufficient (60.0%)
696
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

File Role Description
Accessible without login Plain text file Daemon.class.php Class Daemon base class
Plain text file test.php Example Main test file
Plain text file TestDaemon.class.php Example Test daemon
Download all files: daemon.tar.gz daemon.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products