Preface
Currently doing PHP project, sometimes out of the question, development will say, that YIIC you ran no, that migrate you ran No. What the hell is this, confused, right?
First, a word about Yii is what, the back is good to specify.
Yii is a high-performance PHP framework for developing large Web applications based on components, pure OOP. It gives you the ultimate in reusability in WEB programming and dramatically accelerates the development process.
BodyYIIC
A powerful YIIC tool for the YII framework.
First of all, from the test point of view to get the development of the YIIC command how to use, and how to see this command specifically implemented what content.
Default profile directory: Webapp\protected\commands (WebApp corresponds to your project directory)
Run YIIC command
CD webapp/protected/php yiic somecommand
This somecommand corresponds to the php file of the same name in the Webapp\protected\commands directory.
So this command specifically did something, open to study it to understand.
Migrate
The YII Framework provides a command for data migration.
Default profile directory: Webapp\protected\migrations (WebApp corresponds to your project directory)
Run Migrate command
CD webapp/protected/php migrate somemigrate
This somemigrate corresponds to a php file of the same name in the Webapp\protected\migrations directory, and the contents of this file are related to database operations.
So what does this command do, open to study and understand.
Why use Yii
What is yii capable of?
This is what I have learned to make up again ...
YIIC and migrate