Yii Intro::
Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as "Yee" .
Yii features include:
- Model-View-Controller (MVC) design pattern.
- Generation of complex WSDL service specifications and management of Web service request handling.
- Internationalization and localization (I18N and L10N), comprising message translation, date and time formatting, number formatting, and interface localization.
- 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.
- Security measures include prevention of cross-site scripting (XSS), cross-site request forgery (CSRF) and cookie tampering.
- 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.