Joe Zimmermann takes a look at async functions (which are coming our way in ES2017) and how we might use them today to avoid the callback pyramid of doom.
Tag: async functions
Simplifying Asynchronous Coding with Async Functions
Writing Async Libraries – Let’s Convert HTML to PDF
Chris goes through the whole process of building a PHP async library for converting HTML to PDF - magical stuff!
An Introduction to jQuery’s Deferred Objects
Aurelio De Rosa shows how jQuery Deferred objects help us escape "callback hell" and discusses the different implementations in jQuery 1.x/2.x and jQuery 3
Build a Superfast PHP Server in Minutes with Icicle
Christopher Pitt goes through the process of building an extremely fast asynchronous PHP application server with Icicle and some League libraries - amazing!
An Introduction into Event Loops in PHP
Christopher Pitt introduces event loops - non-blocking async calls in PHP code, akin to Javascript. Can event loops breathe new life into PHP's performance?