Posts marked with “asynchronous PHP”
Parallelize Your Code
This month’s release touches on some examples that keep PHP and its community strong, relevant, and a fun language to code. Ken Marks continues his series on using PHP and a Rasberry Pi in a real-world example with Raspberry Pi Part 2 – Installing the LAMP Stack on your Pi. As developers, we live a […]
Parallelize Your Code
There are a lot of things you can say about PHP and trust me a lot has been said about PHP, but the one thing you can not say is that it hasn’t proven itself. PHP has grown with the internet itself and has the battle scars to show for it.
Education Station: Async is a Lie
One of the more popular programming topics over the last few years has been the idea of “async programming.” Async programming is touted as a way to speed up applications by avoiding issues that normally stall a program. When an application hits an operation that prohibits anything else from happening, this is called a “blocking […]
The Zen Of Mindful Programming
In this issue, Doug Dobrzynski helps us focus while programming with his article, Mindful Programming. While this article isn’t PHP specific, if you take time to digest what he’s talking about, I think you will find that all of us could benefit from using daily mindful techniques. In his article, Lessons Learned from Building a WebSocket […]
Interview with Demin Yin on Swoole
Demin Yin, evangelist for Swoole, joins Eric Van Johnson and John Congdon to talk about the project and more. Topics Covered Writing event-driven, non-blocking PHP applications. Supporting for asynchronous programming and concurrent processes. Performance of Swoole for handling millions of requests. Taking advantage of extensions to add new features or improve performance. Integrations with PHP […]
More Than Asynchronous I/O, Introduction To Swoole PHP
By Bruce Dou Swoole PHP is a coroutine based asynchronous network application framework. It is a PHP extension that extends PHP core and utilizes more power provided by Linux OS. Unlike the callback style single thread asynchronous I/O provided by the other networking libraries like Node.js, Swoole PHP has multiple asynchronous I/O threads and native […]
Running Parallel
While we think of our scripts running for one request at a time, PHP web applications handle multiple, simultaneous requests at a time. In this issue, we look at asynchronous programming using Swoole, handling serverless file uploads, implementing security headers, dealing with race conditions, and more.
More Than Asynchronous I/O, Introduction To Swoole PHP
Swoole PHP is a coroutine based asynchronous network application framework. It is a PHP extension that extends PHP core and utilizes more power provided by Linux OS. Unlike the callback style single thread asynchronous I/O provided by the other networking libraries like Node.js, Swoole PHP has multiple asynchronous I/O threads and native coroutines to manage […]
Build An All-In-One Application Server Using Swoole
In recent years, more and more PHP developers are interested in asynchronous frameworks, like Swoole. However, Swoole brings more than asynchronous programming to PHP; there are a few mind-blowing features in Swoole that many developers are not yet aware of. This article discusses how to use Swoole to build an application server to serve web […]
Asynchronous Magento
By Oleksandr Lyzun Over the years, Magento architecture has become more sophisticated and complex because merchants’ requirements are becoming more complex. This complexity leads to an increase of application infrastructure, release cycles, and the number of features that have to be maintained. For Magento’s first decade, it was a monolith application which nicely covered mid-sized […]