Sunday, 7 February 2016

Yii Introduction

Yii Intro::

Yii is an open sourceobject-orientedcomponent-based MVC PHP web application framework. Yii is pronounced as "Yee" .
Yii features include:

  • Generation of complex WSDL service specifications and management of Web service request handling.
  • Layered caching scheme, which supports data caching, page caching, fragment caching and dynamic content. The storage medium of caching can be changed.
  • Error handling and logging. Log messages can be categorized, filtered and routed to different destinations.
  • Automatic code generation for the skeleton application, CRUD applications, through the Gii tool.
  • Code generated by Yii components and command line tools complies to the XHTML standard.
  • Designed to work well with third-party code. For example, it's possible to include code from PEAR or the Zend Framework.

Installation of Yii mainly involves the following two steps:
Download Yii Framework from yiiframework.com.
Unpack the Yii release ?le to a Web-accessible directory
After installing Yii, you may want to verify that your server satis?es all the requirementsof using Yii. You can do so by accessing the requirement checker script at the followingURL in a Web browser:
http://hostname/path/to/yii/requirements/index.php
The minimum requirement by Yii is that your Web server supports PHP 5.1.0 or above. Yii has been tested with Apache HTTP server on Windows and Linux operating systems.
It may also run on other Web servers and platforms provided PHP 5 is supported.