PHPer's mindset php is efficient and fast. it has become the first choice for many Internet companies to start up. after more than 20 developments, PHPer has become the leader in the web development field, this is a huge advantage and the cornerstone of php's success.
However, this advantage has gradually become a mindset. it is difficult for php to propose it separately. it is often mentioned together with LAMP and LNMP, which has become a bottleneck in the development of phper, if we look at phper rather than phper, we often say php. isn't it just a set of templates? but we have always insisted that we don't just set templates, but programming on the server, but think about it carefully, is that true? If LNMP is compared to a greenhouse, phper is the flower in the greenhouse. Basically, it only focuses on the business, but not on the underlying details, web development is only a very small area of network programming on the server side. how many phper have you thought about? can I publish a picture of the server-side services? Or write a web server by yourself?
Therefore, it is time for phper to jump out of the mindset of web development and turn to network programming on a wider range of servers. In fact, many phper have realized this, therefore, they are often attracted by the features advertised by other languages, and often ignore the problems themselves.
What is the problem? Isn't php really capable of doing these things? Network programming on the server is related to the language. if you do not understand this problem, you can only transfer it at the language level, but cannot really understand the nature of the problem.
In fact, the so-called high concurrency on the market, non-blocking is not anything high, most common languages can achieve, mainly to bring new ideas, it is critical for developers to follow suit or learn from the root of their knowledge. However, at present, many people do not practice their internal skills. once they encounter problems, they may turn to new things that can directly make up their traps, but do not understand the language. as expected, once you encounter difficulties in the new language, you will switch to the other language and continue to improve yourself.
The appearance of swoole gave the best answer to this question. I also suggested that phper should go deep into the technology in the early stage. through php, I should go deep into the familiar language to reach a certain level, naturally, the wider it is, like a small angle. the deeper it is, the wider it covers.
This article does not have specific technologies, but I am only interested in communicating with some friends.
Finally, make a hardware wide:
June 18, 2016
17 floors, office building, Hailong Building, Zhongguancun, Beijing
Share a Swoole application in a real project
This sharing will not start with the introduction. there will be Weibo, Baidu, and marathon financial friends to share with you. In addition, I will serve as the host of this sharing in the phper of Didu, if you are interested, click to view the original document for registration. The activity is free of charge.
-------------- Great split line ----------------
PHP phpfamily is established by a group of reliable people and is willing to bring some spiritual food worth tasting to PHPer!
Only original or authorized articles are published on rice grains.
You can find the original author to communicate with each other.
I also hope that you will receive a lot of rewards (as a draft fee to the author of the article), and I hope that you will invest more in it.
For contribution, please contact:
Shenzhe163@gmail.com
This article was sent by bucket brother. for details, please indicate the source information and the following QR code (long-press the identifiable QR code to follow)