Introduction to Yii
Yii is a high-performance PHP framework best for developing Web 2.0 applications.Yii is pronounced as Yee or [ji:], and is an acroynym for “Yes It Is!”.
Yii is a free, open-source Web application development framework written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product.
Steps to install Yii
- Download the latest Yii package and unpack it in your web accessible directory (/var/www).
- Make sure that the unpacked Yii folder should have following files/directories:
framework/ framework source files
requirements/ requirement checker
CHANGELOG describing changes in every Yii release
LICENSE license of Yii
README this file
UPGRADE upgrading instructions
The minimum requirements by Yii is that your Web server supports
PHP 5.1.0 or above. Yii has been tested with Apache HTTP server Linux operating systems.
Please access the following URL to check if your Web server reaches
the requirements by Yii, assuming “YiiPath” is where Yii is installed:
- On command line , type in the following commands :
$ cd YiiPath/framework
$ ./yiic webapp ../testdrive
Yii comes with a command line tool called “yiic” that can create
a skeleton Yii application for you to start with.
The new Yii application will be created at “YiiPath/testdrive”.
You can access it with the following URL:
That all 🙂