Archive for the ‘Performance & Scaling’ Category

Functional Programming with Phunkie: Funky Parser Combinators

Posted on: No Comments
Phunkie is a library with functional structures for PHP. In this tutorial, Phunkie creator Marcello Duarte, head of training at Inviqa, explains how to create Parser combinators using the functional library. This post first appeared on the Inviqa blog,...

Upgrading from PThreads v2 to V3: What to Look out For

Posted on: No Comments
A fair amount has changed for the pthreads extension with the release of pthreads v3. This article aims to cover the necessary information for those who are looking to upgrade their applications from pthreads v2 to v3. If you're unfamiliar with pthread...

Game Development with ReactJS and PHP: How Compatible Are They?

Posted on: No Comments
"I'd like to make a multiplayer, economy-based game. Something like Stardew Valley, but with none of the befriending aspects and a player-based economy." I started thinking about this the moment I decided to try and build a game using PHP and ReactJS....

Parallel Programming with Pthreads in PHP – the Fundamentals

Posted on: No Comments
PHP developers seem to rarely utilise parallelism. The appeal of the simplicity of synchronous, single-threaded programming certainly is high, but sometimes the usage of a little concurrency can bring some worthwhile performance improvements. In this a...

Writing Async Libraries – Let’s Convert HTML to PDF

Posted on: No Comments
I can barely remember a conference where the topic of asynchronous PHP wasn't discussed. I am pleased that it's so frequently spoken about these days. There's a secret these speakers aren't telling, though... Making asynchronous servers, resolving dom...

How PHP Executes – from Source Code to Render

Posted on: No Comments
Inspired by a recent article on how Ruby code executes, this article covers the execution process for PHP code. Introduction There's a lot going on under the hood when we execute a piece of PHP code. Broadly speaking, the PHP interpreter goes through ...

Using GDELT 2 with PHP to Analyze the World!

Posted on: No Comments
Are you interested in political world events? Do you want to play with one of the world's largest databases? If you answered either of those questions with a yes, keep reading - this will interest you! This article follows up on the promise to use GDEL...

Sourcehunt – Open Source Week Edition

Posted on: No Comments
Sourcehunt - Open Source Week Edition This week is Open Source Week at SitePoint.com. While we do usually cover open source here, what with all the tutorials and introductions to amazing new libraries, packages, and frameworks, this week will be a litt...