Login   Register  
PHP Classes
elePHPant
Icontem

Class: No Timeout

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Johan Barbier  >  No Timeout  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: No Timeout
Base name: obuffer
Description: Split the execution of long tasks in small steps
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 4385 users
All time rank: 504
Week users: 12 users
Week rank: 266
Picture of Johan Barbier
Author: Johan Barbier <e-mail contact>
Packages: 17 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: 39
All time rank: 412 in France France
Week rank: 58 Down3 Down in France France
Innovation award
Innovation award
Nominee: 6x


  Detailed description  
This package can be used to split the execution of long tasks in small steps implemented by requests short enough to not exceed the PHP script execution timeout.

It uses AJAX requests to invoke each execution step. The response of the execution of each step is used to update a section of the page where the progress feedback is displayed.

The class can execute steps of several types built-in actions like database queries, search for a pattern in a file and retrieve a file blocks or lines.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

  Rate classes User ratings   Trackback   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
October 2006
Number 5
Some PHP applications need to perform actions that take a long time to execute. However, in many PHP environments it is not possible to execute tasks that exceed 30 seconds, which the PHP default script execution limit.

This package provides a work around to that limit. It provides means to split long tasks in many small steps, each one should not exceed the PHP script execution limit.

It uses AJAX to automatically send requests to the Web server to execute each task step and give progress feedback on the browser, until the whole task is done.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (87.5%)
Sufficient (75.0%)
Good (81.2%)
-
-
Sufficient (74.4%)
67
Month:
Not yet rated by the users

  Trackback links  
Link Description
Mareste timpul de executie a codului PHP De curand m-am lovit de o problema in conceperea unui script php si anume “depasirea timpului de executie”, pentru care am gasit o solutie extraordinara pe phpclasses.org...

  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
Files folder imageclass (2 files)
Files folder imagescripts (6 files)
Accessible without login Plain text file email.php Example example
Plain text file email.txt Data data
Accessible without login Plain text file index.php Example exemple
Accessible without login Plain text file index2.php Example example
Accessible without login Plain text file index3.php Example example
Accessible without login Plain text file index4.php Example example
Accessible without login Plain text file index5.php Example example
Plain text file index6.php Example Example using 2 simultaneous threads
Accessible without login Plain text file readme.txt Doc. doc
Plain text file test.sql Data sql file test
Plain text file test.xml Data test file
Plain text file texte.txt Data test file
Plain text file typewriter.php Example fun example uysing JS TIMEOUT property

  Files  /  Files folder image class  
File Role Description
  Accessible without login Plain text file class.noTimeOut.js Data noTimeOut js class
  Accessible without login Plain text file class.noTimeOut.php Class NoTimeOut PHP class

  Files  /  Files folder image scripts  
File Role Description
  Accessible without login Plain text file arrayFetch.php Appl. script
  Accessible without login Plain text file dbFetch.php Appl. script
  Plain text file emailSend.php Appl. script sending emails
  Accessible without login Plain text file fileFetch.php Appl. script
  Plain text file fileFetchLine.php Appl. script
  Accessible without login Plain text file filePatFetch.php Appl. script

Download all files: obuffer.tar.gz obuffer.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.