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

Nick Halstead's Blog: How to make AuctionAd$ dynamic with PHP

PHP North West: PHPNW10: Harrie Verveer: Database version control without pain

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP

Rob Allen's Blog: Retrieving a list of databases from SQL Server

Lorenzo Alberton's Blog: DBMS and charsets, a summary and a call for help


Community Events











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


overview symfony2 component introduction language application code hack framework release podcast security composer hhvm install facebook unittest example package opinion

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