News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Do you queue? Introduction to the Zend Server Job Queue
March 08, 2010 @ 10:11:58

On the Zend Developer Zone today there's a new post (technically a repost) of an article from Kevin Schroeder about using the job queue in the Zend Server software to enhance the functionality of your application.

When talking about building a scalable application there is a big concept out there that many PHP developers are not overly familiar with. That concept is queuing. It is becoming much more prevalent in PHP-land but the concept of a queue is still relatively unused among PHP developers. [...] Queuing a job is actually very easy to do. A job is run by calling a URL where that job resides. The Job Queue daemon will receive the request from your application and will then call the URL that you specified in the API call. Once you call that URL your application can continue going on its merry way to finish serving up the request.

He includes some code snippets showing how to create the request - in this case a simple call that will just email when the job is preformed. There's more than one way to do it and he includes a more well structured/less scripty way to do things in an abstract class.

0 comments voice your opinion now!
jobqueue zendserver tutorial


blog comments powered by Disqus

Similar Posts

Joshua Thompson's Blog: Prototype-based programming in PHP

Alex Simonenko's Blog: Installing PHP 5.3.6 on OS X Lion

DevShed: Graphical Interfaces and Unit Testing

Stephan Hochdörfer: Silex running on HHVM

SitePoint PHP Blog: Keeping Your PHP Code Well Documented


Community Events











Don't see your event here?
Let us know!


language framework install security symfony2 opinion unittest component composer performance introduction hack hhvm application series facebook podcast package database release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework