PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 182 All time: 8,697 This week: 206Up
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.

Picture of Matthew Daniel
  Performance   Level  
Name: Matthew Daniel <contact>
Classes: 3 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 2x

Recommendations

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:182
This week:0
All time:8,697
This week:206Up
 User Ratings  
 
 All time
Utility:85%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1424