Archive for the ‘Async’ Category

Using ES2017 Async Functions

Posted on: No Comments
ES2017 was finalized in June, and with it came wide support for my new favorite JavaScript feature: async functions! If you've ever struggled with reasoning about asynchronous JavaScript, this is for you. If you haven't, then, well, you're probably a s...

Game Development with React 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 React. Th...

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...

Build a Superfast PHP Server in Minutes with Icicle

Posted on: No Comments
Event-based programming is a strange topic for PHP developers. In a language as procedural; events are little more than function calls. Nothing happens between events, and all meaningful code is still blocking. Languages like JavaScript show us what PH...

An Introduction into Event Loops in PHP

Posted on: No Comments
PHP developers are always waiting for something. Sometimes we’re waiting for requests to remote services. Sometimes we’re waiting for databases to return rows from a complex query. Wouldn’t it be great if we could do other things during all that ...