Home> PHP Framework> YII> body text

What is Yii in yii2

藏色散人
Release: 2020-07-21 11:49:22
Original
3476 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!