Archive for the ‘asynchronous’ Category

Dealing with Asynchronous APIs in Server-rendered React

Posted on: No Comments
If you've ever made a basic React app page, it probably suffered from poor SEO and performance issues on slower devices. You can add back traditional server-side rendering of web pages, typically with NodeJS, but this isn't a straightforward process, e...

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

Websockets in Your Synchronous Site

Posted on: No Comments
I’m always yammering on about writing asynchronous PHP code, and for a reason. I think it’s healthy to get fresh perspectives - to be exposed to new programming paradigms. Asynchronous architecture is common in other programming languages, but it...

JavaScript Goes Asynchronous (and It’s Awesome)

Posted on: No Comments
This article is part of a web development series from Microsoft. Thank you for supporting the partners who make SitePoint possible. JavaScript has come a long way since its early versions and thanks to all efforts done by TC39 (The organization in char...

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