Yii
<templatestyles src="Module:Hatnote/styles.css"></templatestyles>
Lua error in package.lua at line 80: module 'strict' not found.
Yii logo | |
Stable release | 2.0.7[1] / February 14, 2016 |
---|---|
Development status | Active |
Written in | PHP |
Operating system | Cross-platform |
Type | Web application framework |
License | New BSD License |
Website | www |
Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as "Yee" or [ji:] and in Chinese it means "simple and evolutionary" and it can be acronym for "Yes It Is!".[2]
Contents
History
Yii started an attempt to fix drawbacks of the PRADO framework: Slow handling of complex pages, steep learning curve and difficulty to customize many controls. In October 2006, after ten months of private development, the first alpha version of Yii was released, followed by the formal 1.00 release in December 2008.
Yii 1.1 was released in January 2010 adding a form builder, relational Active record queries, a unit testing framework and more. In May 2011 the developers decided to use new PHP versions and fix architectural mistakes. This led to version 2.0 to which the first commit was made in the same month. In May 2013 the Yii 2.0 code went public, followed by the first stable release of Yii 2.0 in October 2014. The current version 2.0.7 also supports PHP7.[3]
Features
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.
- Unit and functionality testing based on PHPUnit and Selenium.
- 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.
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[4] | Requirement[4] |
---|---|---|---|---|
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, 2016 | 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 | |||
1.1.16 | December 21, 2014 | |||
1.1.17 | January 13, 2016 | |||
2.0 | 2.0.0 | October 12, 2014 | TBD | PHP 5.4.0 or above |
2.0.1 | December 7, 2014 | |||
2.0.2 | January 11, 2015 | |||
2.0.3 | March 1, 2015 | |||
2.0.4 | May 10, 2015 | |||
2.0.5 | July 11, 2015 | |||
2.0.6 | August 5, 2015 | |||
2.0.7 | February 14, 2016 | |||
2.0.8 | April 28, 2016 |
Extensions
The Yii project includes a repository of user-contributed extensions.
There was also an official extension library, zii, which was eventually merged with the core framework; it has been bundled in every release since Yii version 1.1.0, and includes additional behaviors and widgets, such as grids and jQuery UI.
Documentation
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.
Licensing
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.
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.[5]
The logo is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.[6]
Bibliography
Books
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
Journals
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
See also
References
<templatestyles src="Reflist/styles.css" />
Cite error: Invalid <references>
tag; parameter "group" is allowed only.
<references />
, or <references group="..." />
External links
<templatestyles src="Div col/styles.css"/>
- 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
- Yii Community in spanish
- Why Choose Yii Framework
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ http://www.yiiframework.com/news/92/php-7-released/
- ↑ 4.0 4.1 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.