Home  >  Article  >  PHP Framework  >  What is Yii in yii2

What is Yii in yii2

藏色散人
藏色散人Original
2020-07-21 11:49:223545browse

Yii in yii2 is a framework core class, and the lowercase yii in yii2 is the namespace path; Yii has two main versions, namely 2.0 and 1.1, and the latest stable version of yii is the yii2 version .

What is Yii in yii2

Yii and yii in yii2:

Uppercase YII is a framework core class, lowercase \yii\ is Namespace path.

Yii has two major versions: 2.0 and 1.1. The first stable version released by yii is: 1.1.14 (released on August 11, 2013), and the latest stable version released by yii is: 2.0.0 (released on October 12, 2014).

Recommended: "yii Tutorial"

Features of the yii framework:

Fast

Yii only loads the functions you need. It has strong caching support. It's explicitly designed to work efficiently with AJAX.

Safety

Yii is safe by its standards. It includes input validation, output filtering, SQL injection and cross-site scripting prevention.

Professional

Yii helps you develop clean and reusable code. It follows the MVC pattern, ensuring a clear separation of logic and presentation layers.

The above is the detailed content of What is Yii in yii2. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn