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

ThinkPHP Blog: Zend & Oracle - Current Status?

Vid Luther's Blog: Talking to multiple databases with Symfony 1.2

PHPBuilder.com: Dynamic XML with PHP

Zend Developer Zone: The ZendCon Sessions Episode 2: Best Practices for Sending Mail from PHP

Daniel Krook's Blog: CakePHP DB2 driver alpha released


Community Events











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


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

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