Home > PHP Framework > YII > body text

Introduction to the use of gii tools in the yii framework

王林
Release: 2021-01-11 10:05:38
forward
2585 people have browsed it

Introduction to the use of gii tools in the yii framework

gii is an extension that automatically generates code through gii and leaves some common codes to the program to generate, which greatly reduces the developer's time cost.

The usage method is as follows:

(Learning video sharing: Programming video)

Open main.php under protected\config and find the following paragraph Code:

Introduction to the use of gii tools in the yii framework

It was originally commented. Now I need to remove the comment and change my password as follows:

Introduction to the use of gii tools in the yii framework

##Enter index.php?r=gii in the address bar. The gii login interface will open. Enter the password set in the previous step.

Introduction to the use of gii tools in the yii framework

After entering, you can operate the Model Generator and Crud Generator

Introduction to the use of gii tools in the yii framework

Related recommendations:

yii framework

The above is the detailed content of Introduction to the use of gii tools in the yii framework. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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
Popular Tutorials
More>
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!