PHP Classes
elePHPant
Icontem

PHP Action Deferer: Defer execution of actions until the script ends

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-08 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 176 All time: 7,780 This week: 1,196Up
Version License PHP version Categories  
deferer 1.0.0MIT/X Consortium ...5.0PHP 5, Language
Description Author  

This class can defer execution of actions until the script ends.

This way the Web server may close the connection with the user browser before processing intensive actions, making possible for pages to load in less time.

The class can register one or more functions to be called later after the current scripts ends.

It registers a shutdown function that will call all registered deferred action functions.

Recommendations  

What is the best PHP page caching class?
Need best caching to store XML documents

Picture of Matthew Daniel
  Performance   Level  
Name: Matthew Daniel <contact>
Classes: 3 packages by
Country: United States United States
Age: 35
All time rank: 2597324 in United States United States
Week rank: 1653 Up201 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file deferer.php Class deferer class
Accessible without login Plain text file example.php Example Example usage of deferer

 Version Control Unique User Downloads Download Rankings  
 0%Total:176All time:7,780
 This week:0This week:1,196Up