Home  >  Article  >  PHP Framework  >  Introduction to the use of gii tools in the yii framework

Introduction to the use of gii tools in the yii framework

王林
王林forward
2021-01-11 10:05:382594browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete