Home > Article > PHP Framework > What is swoole developed with?
The swoole has two parts. One is a PHP extension, developed in C, which is the core. The other is a framework, like Yii, TP, and Laravel, which is written in PHP code.
Recommended learning: swoole video tutorial
The swoole extension itself provides web server functionality and can replace php-fpm. And if you only use the swoole framework, it can run in web servers such as nignx and apache like other PHP frameworks.
The swoole framework, like the PHP framework, is suitable for web development. The swoole extension provides a lower-level server communication mechanism, which can use UDP, TCP and other protocols, not just http.
Swoole can be widely used in the Internet, mobile communications, enterprise software, cloud computing, online games, Internet of Things (IOT), Internet of Vehicles, smart homes and other fields.
Using PHP Swoole as a network communication framework can greatly improve the efficiency of the enterprise IT R&D team.
For web development, the common scenarios of swoole are:
1. App push (the server actively sends messages to the client)
2. Customer service chat system
The above is the detailed content of What is swoole developed with?. For more information, please follow other related articles on the PHP Chinese website!