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

IBM developerWorks:
Batch processing in PHP
December 07, 2006 @ 09:06:00

Both this post on the Zend Developer Zone and tis post on the International PHP Magazine's website point to a new article over on the IBM developerWorks website by Jack Herrington, Batch processing with PHP.

What do you do when you have a feature in your Web application that takes longer than a second or two to finish? You need some type of offline processing solution. Check out several methods for offline servicing of long-running jobs in your PHP application.

He talks about cron and its role in offline processing (including a basic primer on its format) before getting into the example itself. He looks at three examples:

  • building an email queue
  • building a generic queue system
  • dumping out the database
Each example comes complete with code and descriptions to help you work them up on you very own system.

0 comments voice your opinion now!
batch process cron mail quene generic database dump batch process cron mail quene generic database dump


blog comments powered by Disqus

Similar Posts

Jachim Coudenys: Using multiple databases in phpunit/dbunit with Composer

Web & PHP Magazine: Issue #11 - Climate Change

Codewalkers.com: New Things on the Tutorial Front (Pagination & Ajax)

Devshed: Email Management Details

Wil Sinclair's Blog: Process Patterns


Community Events











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


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

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