PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Kevin Schroeder's Blog: New Zend Server Job Queue Library

Note: This article was originally published at PHPDeveloper on 3 March 2011.
PHPDeveloper

In his newly updated blog today (changed to WordPress) Kevin Schroeder has a new post looking at a new queuing library available for Zend Server's Job Queue including an example of its use.

This will probably be one of the last posts I do on the Zend Server Job Queue functionality. From this point on they will probably be less frequent, though I'm sure several posts will allude to it. The reason I'm going to put it on the back burner is because I have written a library which is now available on GitHub. What it does is encapsulate all of the functionality that I think needs to be there to be able to implement asynchronous functionality.

In his example code, he shows how to use the library to create a job class that sends a basic email to a defined address and how to set it up with the Manager. Then the action can be called from a script getting the remote job and checking to see when the job has finished.