The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework? The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework?
Reply content:
The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework?
Swoole_framework
Try http://www.slimframework.com/
AndsinatraSimilar writing
We recommend that you pay attention to Laruence.
PHP development team member, Zend part-time consultant, Yaf, Yar, Yac, Opcache, and other project authors and maintainers.
Yar among them, you will love it.
A website that can achieve high concurrency is no longer a matter of php, and there are more system-level things with high concurrency. There are also many people who like to say that php is so bad, it is too slow. What really restricts the website is not php, but database and disk io. If you can use hiphop to support 90% of facebook traffic.
As described above, the website's bottleneck is often not in the programming language, but in the database and I/O processes.
- Currently, most PHP development uses framework development. Php frameworks are heavyweight and lightweight.
- Php is usually in the frontend for large and high-concurrency projects, and C ++ and java are mostly used at the backend.
- The implementation of high concurrency involves the level of the entire project architecture and has nothing to do with the specific language.
- I guess what you mean seems to require a heavyweight framework. In this case, we recommend zf and yii.
Of course, the yaf on the second floor is also good. its author is Sina Weibo architect, laruence.