How to generate crud code?
Answer / Raju Shah
To generate CRUD code in Yii, you can use Gii (Generator), a code generation tool. To access it, open your browser and visit 'http://localhost/web/gii'. Here, you can create models, controllers, and views for your database tables.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the server requirements to install yii2?
How to get current action id in yii ?
How do we extend yii?
How to connect to the database?
What are the new features acquired in yii2?
What do you mean by yii helpers?
What is name of first file the loaded when yii framework starts?
What are the core helper classes in yii framework?
Why yii framework is faster?
What yii is so fast?
What is the purpose of “gii” in yii2?
Why gii is used?