Login   Register  
PHP Classes
elePHPant
Icontem

PHP Long Running Operations: Execute long operations split in small tasks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (30)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-02 (7 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 315 All time: 6,521 This week: 1,398Up
Version License PHP version Categories  
longops 0.9MIT/X Consortium License5.2PHP 5, Utilities and Tools, Language
Description Author  

This class can execute long operations split in small tasks.

It executes a portion of long operation and then exits by redirecting the current script to itself, so it executes the next step of the operation until its done.

This way each step does not exceed the PHP default execution time limit.

Each step can be executed by calling a given callback function or executing functions of an eventual sub-class of this class.

Picture of Alexander Selifonov
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 15 packages by
Country: Russian Federation Russian Federation
Age: 52
All time rank: 612 in Russian Federation Russian Federation
Week rank: 82 Down3 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 11x

Winner: 2x

Screenshots  
  • screenshot.png
  Files folder image Files  
File Role Description
Files folder imagedemo (7 files, 1 directory)
Files folder imagedoc (2 files)
Files folder imagesrc (2 files)
Accessible without login Plain text file LICENSE Lic. MIT License
Accessible without login Plain text file README.md Doc. Readme

  Files folder image Files  /  demo  
File Role Description
Files folder imageimages (17 files)
  Accessible without login Plain text file demo-backend.php Example Demo Backend (procedural)
  Accessible without login Plain text file demo-class-backend.php Example Demo Backend (OOP)
  Accessible without login Plain text file demo-class.php Aux. frontend demo (OOP)
  Accessible without login Plain text file demo.php Aux. Frontend demo
  Accessible without login Plain text file jquery-ui-custom.css Data css for UI
  Accessible without login Plain text file jquery-ui-custom.min.js Data jQuery UI module
  Accessible without login Plain text file jquery.min.js Data jQuery module

  Files folder image Files  /  demo  /  images  
File Role Description
  Accessible without login Image file animated-overlay.gif Icon for jQuery UI
  Accessible without login Image file ui-bg_flat_0_aaaaaa_40x100.png Icon for jQuery UI
  Accessible without login Image file ui-bg_flat_55_fbec88_40x100.png Icon for jQuery UI
  Accessible without login Image file ui-bg_glass_75_d0e5f5_1x400.png Icon for jQuery UI
  Accessible without login Image file ui-bg_glass_85_dfeffc_1x400.png Icon for jQuery UI
  Accessible without login Image file ui-bg_glass_95_fef1ec_1x400.png Icon for jQuery UI
  Accessible without login Image file ui-bg_gloss-wave_5...9ccc_500x100.my.png Icon for jQuery UI
  Accessible without login Image file ui-bg_gloss-wave_55_5c9ccc_500x100.png Icon for jQuery UI
  Accessible without login Image file ui-bg_inset-hard_100_f5f8f9_1x100.png Icon for jQuery UI
  Accessible without login Image file ui-bg_inset-hard_100_fcfdfd_1x100.png Icon for jQuery UI
  Accessible without login Image file ui-icons_217bc0_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_2e83ff_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_469bdd_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_6da8d5_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_cd0a0a_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_d8e7f3_256x240.png Icon for jQuery UI
  Accessible without login Image file ui-icons_f9bd01_256x240.png Icon for jQuery UI

  Files folder image Files  /  doc  
File Role Description
  Accessible without login Plain text file helpstyles.css Data css for help
  Accessible without login HTML file longops.en.htm Doc. English documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file class.longops.php Class Main backend helper class
  Accessible without login Plain text file longops.jQuery.js Data clientside helper javascript module

 Version Control Unique User Downloads Download Rankings  
 100%Total:315All time:6,521
 This week:0This week:1,398Up