The Yii Framework tutorial can be found in official Chinese documents, so why do you want to write this development tutorial? The purpose of this tutorial is to help Windows desktop applications or ASP.net programmers to quickly master the PHP YII Framework application framework through different perspectives (primarily through the development of Windows applications c++,c# Programmer's perspective). An important benefit of using PHP to develop Web applications is that it can be applied to various operating systems (Unix,windows,mac OS), unlike ASP.net, which are typically only available on Windows operating systems. The use of Php+apache+mysql (Xmap/lamp) can be used to fight the invincible hand:-) almost.
The operating system used for this tutorial is windows and the development IDE is VS. PHP, which uses this development environment because vs.php is using Visual Studio as the IDE, is familiar to Visual Studio developers. And can be used to develop debugging c#,php applications at the same time. The Yii Framework itself has nothing to do with the IDE, and you can use your favorite PHP development tools to develop YII applications (such as Eclipse). For an introduction to vs.php, see VS. PHP + yiiframework Portfolio development PHP application. This tutorial on Yii framework knowledge is not related to the development of the IDE, can be applied to a variety of development environments, you can choose your own favorite development environment.
In the creation of the first application, you need to download the Yii development package, download can go to the Yii website http://www.yiiframework.com/download/download, the current version of 1.1 12, after downloading the direct decompression, for convenience to extract it to the C: root directory:
Another benefit of using vs.php is that it has its own Apache Web server, so you can install Xamp (apache+mysql+php) without additional installation, but MySQL is also required if you need to use MySQL.
After installing the YII framework, we used vs.php to create the first PHP application, Hello world.