PHP Classes

PHP Async Task: Execute asynchronous tasks in the background

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 67%Total: 1,003 All time: 3,633 This week: 171Up
Version License PHP version Categories
slobel-async-task 1.0.6BSD License5.3.3PHP 5, Unix, Language
Description 

Author

This class can Execute asynchronous tasks in the background.

It can fork a parallel process and call a function of the class that will execute the task code.

Applications should create sub-classes to override the function that will execute the parallel task code.

The parallel task can take given parameters from the originating process. Property values may also be shared with the parallel task using shared memory.

The class can also kill the parallel task, check if it is killed or still running.

Recommendations

Console app to call mvc controller action to real time process
Console app to call mvc controller action to real time process

Picture of Dmitry Mamontov
  Performance   Level  
Name: Dmitry Mamontov <contact>
Classes: 16 packages by
Country: Russian Federation Russian Federation
Age: 32
All time rank: 78727 in Russian Federation Russian Federation
Week rank: 198 Up11 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetests (3 files)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file AsyncTask.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file AsyncTaskInstance.php Test Unit test script
  Accessible without login Plain text file AsyncTaskTest.php Test Unit test script
  Accessible without login Plain text file bootstrap.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,003
This week:0
All time:3,633
This week:171Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:626
 
The easiest class on this subject.
8 years ago (Vasiliy Trutov)
77%StarStarStarStar
Work is Awesome
8 years ago (Chintan Patel)
60%StarStarStarStar