PHP Classes

Packages of Michal Golebiowski

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Michal Golebiowski (2)  >  Mission progress status  >  Reputation  
Picture of Michal Golebiowski
Name: Michal Golebiowski <contact>
Classes: 2
Country: Poland Poland
Age: 42
All time rank: 39110 in Poland Poland
Week rank: 195 Up4 in Poland Poland Up
All time users: 7085
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Daemon  
PHP Programming Innovation award nominee
March 2005
Number 2


Prize: One copy of the Zend Studio
Create and control Unix daemon processes
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.

  Files folder image FIFO Queue  
Implementation of FIFO (First In First Out) queue
This class provides an implementation of FIFO queue. You can push any type of objects to the queue and pop them by the order they were retrieved.

The class comes in distinct versions for PHP 4 and for PHP 5 using an abstract base class and private and public variables and functions.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z