Asynchronous php development can be the best tool for your work

Source: Internet
Author: User
As a PHP developer, we are used to worrying about sockets. "PHP scripts should soon be out of life," Some people may say so, but there are other different voices. "Why don't you use Node to achieve this? The problem is that these ideas will make PHP kernel development and peripheral ecosystem attempts stagnant. As a PHP developer, we are used to worrying about sockets. "PHP scripts should soon be out of life," Some people may say so, but there are other different voices. "Why don't you use Node to achieve this ?"

The problem is that these ideas will make PHP kernel development and peripheral ecosystem attempts stagnant.

Don't get me wrong: PHP is not created to use an event loop, and PHP is not created for asynchronous development. Any attempt to implement such things violates the original intention of the PHP language. However, many people think that PHP can change to adapt to these tasks.

For beginners, there is a suitable ReadPHP. This is a set of libraries for dependency extension and some core functions to simulate the event loop. There are other things to respond to, such as allowing and part of functional programs, but focusing on reactive programming and event loops.
PHP may not be the best tool for work, but if we don't explore asynchronous PHP, it will never be the best tool for our work.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.