Summary: PHP 8 Applications Using Asynchronous Programming

A quick overview of running PHP 8 applications using asynchronous programming.

We'll cover the following

Key takeaways

  • In this chapter, we learned the difference between conventional synchronous programming and asynchronous programming. Key terms such as event loops, timers, promises, and channels were covered. This knowledge gives us the ability to determine when a block of code is written using the asynchronous programming model and how to rewrite portions of existing synchronous model applications to take advantage of asynchronous features.

  • We then learned about the Swoole extension and how it can be applied to existing application code to achieve performance improvements.

Get hands-on with 1400+ tech skills courses.