News Feed
Sections




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

Jack Slingerland's Blog:
24 PHP Dark Arts Multi-Processing (Series)
October 01, 2010 @ 13:49:07

Jack Slingerland has a series of new posts to his blog looking at a method for multi-processing in PHP applications and some of the considerations of forking off processes from a main script.

Of all the glorious programming languages in existence, you've chosen to work with PHP. Okay, maybe you were forced to, but that doesn't mean you can't have fun right? Hmm, fun...What' fun? Threading, race conditions, and deadlocks. Sounds like loads of fun! But alas, PHP doesn't have functionality to cover this. True, but the host operating system does. We can just fork processes manually like in the good 'ole days' and then ride off into the sunset. But we shouldn't do that, it's wrong. It's taking advantage of PHP. Bah! We're going to do it anyways. And FOR THE LOVE OF GOD, do not do this in production code. If you need multi-threading, use a different language.

Here's the three parts of the series:

If you'd like to download the source he's created during these three posts, you can grab it here.

0 comments voice your opinion now!
multiprocessing tutorial multithreading


blog comments powered by Disqus

Similar Posts

Alison Gianotto: Check User-Submitted URLs for Malware and Phishing in Your Application

Developer Tutorials Blog: Iterating PHP objects, and readable code too!

PHPBuilder.com: The PHP Fat-Free Framework: Slim Down Your PHP Development

Spindrop.us: Digg-style AJAX comment editing in PHP/symfony

ThinkPHP Blog: Accessing NTLM secured resources with PHP


Community Events

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


laravel5 psr7 opinion interview series development extension release library unittest api voicesoftheelephpant framework wordpress language laravel conference podcast introduction community

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