Learn what JavaScript callbacks are, how they work, their different types, how to create them, and how to employ them in your own code.
Tag: asynchronous code
Chris uses ReactJS, PHP, and Websockets to demonstrate how we can procedurally generate game terrain for our rip-off of Stardew Valley!
Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
Thomas explains the most recent version of pthreads targeting PHP 7+ and demonstrates all the new features it brought along. Get started with parallelism!
Chris goes through the whole process of building a PHP async library for converting HTML to PDF - magical stuff!
Chris introduces Socketize, a "sockets-as-a-service" layer that helps you implement websockets into apps with zero overhead, then adds them to a PHP script!
Ravi Kiran demonstrates how to combine powerful new ES6 features (namely generators, Promises and the Fetch API) to create asynchronous APIs in JavaScript.