The PHP development team finally has Chinese participation. Recently, Laruence (http://www.laruence.com), real name Hui Xinchen, joined the PHP language official development team. Do PHP students must be familiar with him. His blog, Fengxuezhiyu, has published many articles related to PHP source code analysis and extension development.
The PHP framework Yaf, which he developed using PHP extensions, has also entered PHP The official extension library (http://pecl.php.net/package/yaf), this framework draws on the design of Zend Framework, the most popular PHP development framework at present, and the migration cost is very low. However, the English documentation of Yaf is still very imperfect: http://www.php.net/manual/en/book.yaf.php, the Chinese documentation is slightly better: http://yaf.laruence.com/manual/
Yaf’s advantages:
1. The PHP framework developed in C language brings almost no additional performance overhead compared to native PHP.
2. All framework classes do not need to be compiled and are started in PHP is loaded at the time, and resides in the memory.
3. Shorter memory turnover cycle, improves memory utilization, and reduces memory occupancy.
4. Smart automatic loading. Supports global and Two local loading rules facilitate class library sharing.
5. High-performance view engine.
6. Highly flexible and extensible framework, supports custom view engines, supports plug-ins, supports Custom routing, etc.
7. Built-in multiple routes, compatible with various common routing protocols.
8. Powerful and highly flexible configuration file support. And support Cache configuration files to avoid performance losses caused by complex configuration structures.
9. In the framework itself, dangerous operating habits are prohibited.
10. Faster execution speed, Less memory usage.
Yaf has now attracted the attention of many people abroad, including the author of Zend Framework, who also recommended Yaf on twitter:
julienPauli:
pecl/yaf finally made it: A framework, inspired by ZendFramework, entirely written in a C extension