


The first Chinese member of the PHP development team and his Yaf_PHP tutorial
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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c
