World Library  
Flag as Inappropriate
Email this Article


Article Id: WHEBN0028540539
Reproduction Date:

Title: Yii  
Author: World Heritage Encyclopedia
Language: English
Subject: Comparison of web application frameworks, Scaffold (programming), Codelobster, PhpStorm, Agavi
Publisher: World Heritage Encyclopedia


Yii logo
Stable release 2.0.0[1] / October 12, 2014 (2014-10-12)
Development status Active
Written in PHP
Operating system Cross-platform
Type Web application framework
License New BSD License
Website .com.yiiframeworkwww

Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as "Yee" or [ji:] and it's an acronym for "Yes It Is!".[2]


The Yii project started on January 1, 2008, in order to fix some drawbacks of the PRADO framework. For example, in its early versions PRADO was slow when handling complex pages, had a steep learning curve and many controls were difficult to customize, while Yii was much more efficient at that time.[3] In October 2008, after ten months of private development, the first alpha version of Yii was released. On December 3, 2008, Yii 1.0 was formally released.[2]


Yii features include:[4][5]

  • 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). It supports message translation, date and time formatting, number formatting, and interface localization.
  • Layered caching scheme. It supports data caching, page caching, fragment caching and dynamic content. The storage medium of caching can be changed.
  • Error handling and logging. Errors are handled and presented more nicely, and log messages can be categorized, filtered and routed to different destinations.
  • Security measures include cookie tampering prevention, etc.
  • Unit and functionality testing based on PHPUnit and Selenium.
  • Automatic code generation for the skeleton application, CRUD applications, etc.
  • Code generated by Yii components and command line tools complies to the XHTML standard.
  • Carefully designed to work well with third-party code. For example, it's possible to use code from PEAR or Zend Framework in a Yii application.

Version history

Color Meaning
Red Old version; no longer supported
Yellow Old version; still supported
Green Current version
Blue Future version
Version Release Release date End of maintenance[6] Requirement[6]
1.0 1.0 December 3, 2008 December 31, 2010 PHP 5.1.0 or above
1.0.1 January 4, 2009
1.0.2 February 1, 2009
1.0.3 March 1, 2009
1.0.4 April 5, 2009
1.0.5 May 10, 2009
1.0.6 June 7, 2009
1.0.7 July 5, 2009
1.0.8 August 9, 2009
1.0.9 September 6, 2009
1.0.10 October 18, 2009
1.0.11 December 13, 2009
1.0.12 March 14, 2010
1.1 1.1.0 January 10, 2010 December 31, 2015 or later PHP 5.1.0 or above
1.1.1 March 14, 2010
1.1.2 May 2, 2010
1.1.3 July 4, 2010
1.1.4 September 5, 2010
1.1.5 November 14, 2010
1.1.6 January 16, 2011
1.1.7 March 27, 2011
1.1.8 June 26, 2011
1.1.9 January 1, 2012
1.1.10 February 12, 2012
1.1.11 July 29, 2012
1.1.12 August 19, 2012
1.1.13 December 30, 2012
1.1.14 August 11, 2013
1.1.15 June 29, 2014
2.0 2.0.0 October 12, 2014 TBD PHP 5.4.0 or above


The Yii project has an extension repository consisting of user-contributed components.

There was also an official extension library, zii, which was then merged with the core framework. It is bundled in every release since Yii version 1.1.0, and it includes additional behaviors and widgets, such as grids and jQuery UI.


Yii comes with a collection of official documentation, such as a tutorial to develop a simple blog application, a guide that gives the description of every feature and a class reference which gives every detail about properties, methods and events.

There's also a user-contributed documentation, most of which is available within the wiki on the official website.


Yii is released under the New BSD License (3-clause license). This means that it's possible to use it for free to develop either open-source or proprietary Web applications.[2]

The text contained in the Official Yii Documentation is licensed to the public under the GNU Free Documentation License (GFDL). In general, the Yii documentation content can be copied, modified, and redistributed so long as the new version grants the same freedoms to others and acknowledges the authors of the Yii documentation article used.[7]

The logo is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.[8]




  • Behme, Henning (January 2009). "World Wide Web". iX (Heise). 
  • Winesett, Jeffrey (March 2009). "Adding the Yii Framework to Your Web Development Toolbox". php|architect. 
  • Winesett, Jeffrey (July 2009). "Yii: Flex Your Flash". php|architect. 
  • Kreußel, Peter (November 2009). "PHP-Frameworks im Überblick, Viel Holz für den Rahmen". Linux-Magazin (Linux New Media AG). 

See also


  1. ^ "Yii 2.0.0 is released". 2014-10-12. Retrieved 2014-10-13. 
  2. ^ a b c "About Yii". Retrieved 16 October 2010. 
  3. ^ "Yii: a high-performance framework inheriting Prado". 6 October 2008. Retrieved 22 August 2010. 
  4. ^ "Features of Yii". Retrieved 22 August 2010. 
  5. ^ "New Features". Retrieved 26 August 2010. 
  6. ^ a b "Download Yii Framework". Retrieved 18 January 2011. 
  7. ^ "Terms of the Yii Documentation". Retrieved 22 August 2010. 
  8. ^ "Official Logo". Retrieved 20 October 2010. 

External links

  • Yii official website
  • Yii Extensions
  • Yii Documentation
  • The Definitive Guide to Yii
  • Yii Forum
  • Yii on github
  • Thailand Yii community
  • Russian Yii community
  • Ukrainian Yii community
  • Italian Yii community
  • YiiAnswers - a community-driven question-and-answer site for Yii
  • Yiitard - practical Yii development blog
  • Yii development blog (yiinotes)
  • Ext4Yii - an ExtJS extension for Yii
  • Faster Yii API documentation
  • Vietnamese Yii Community
  • Technology Benefits of Yii Framework
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.