News 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

DevShed: Completing a Blogger with PHP

DevShed: Introducing the Chain of Responsibility Between PHP Objects

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Db

David Coallier's Blog: PEAR::DB is Deprecated, Got It?

WebCheatSheet.com: Two New Tutorials - Database Export & Sending Email


Community Events





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


tool series security voicesoftheelephpant library community package language opinion laravel version interview install update symfony release podcast composer framework introduction

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