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!".
History The Yii project was an attempt 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. In October 2006, after ten months of private development, the first
alpha version of Yii was released. On December 3, 2008, Yii 1.0 was formally
released. January 2010 Yii 1.1 was released
featuring form builder, relational ActiveRecord queries, unit testing
framework and more. At the end of 2010 feature list for Yii 1.2 was on internal
discussion. In May 2011 team decided to use new PHP versions and fix
architectural mistakes. That basically meant 2.0. Same month the first commit
was made. In May 2013 Yii 2.0 code went public. In October 2014 the first stable
release of Yii 2.0 happened. Features
Yii features include: Model-View-Controller design pattern.
Generation of complex WSDL service specifications and management of Web
service request handling. Internationalization and localization.
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 cross-site scripting prevention, cross-site request
forgery prevention, 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 Extensions
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. 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. 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. 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.
The logo is licensed under a Creative Commons Attribution-No Derivative Works
3.0 Unported License. Bibliography
= Books = Merkel, Dirk. "Chapter 6: PHP
Frameworks". Expert PHP 5 Tools. Packt Publishing. ISBN 978-1-84719-838-9.
Winesett, Jeffrey. Agile Web Application Development with Yii1.1 and PHP5. Packt
Publishing. ISBN 978-1-84719-958-4. Makarov, Alexander. Yii 1.1 Application
Development Cookbook. Packt Publishing. ISBN 978-1-84951-548-1.
Ullman, Larry. The Yii Book. Larry Ullman.
Winesett, Jeffrey. Web Application Development with Yii and PHP. Packt
Publishing. ISBN 978-1-84951-872-7. O'Meara, Lauren J.; Hamilton III, James
R.. Yii Rapid Application Development Hotshot. Packt Publishing. ISBN
978-1-84951-750-8. Макаров, Александр. Yii. Сборник
рецептов. ДМК Пресс. ISBN 978-5-94074-786-4.
Sosna, Łukasz. Yii Framework. Helion. ISBN 978-83-246-7920-1.
Mumm, Jacob. Instant Yii 1.1 Application Development Starter. Packt Publishing.
ISBN 978-1-78216-168-4. Uday, Sawant. Instant Building
Multi-Page Forms with Yii How-to. Packt Publishing. ISBN 978-1-78216-642-9.
Safronov, Mark. Web Application Development with Yii 2 and PHP. Packt
Publishing. ISBN 978-1-78398-188-5. Portwood II, Charles R.. Yii Project
Blueprints. Packt Publishing. ISBN 978-1-78328-773-4.
Keck, Bill. Yii 2 For Beginners. Leanpub.
Pescarin, Matteo. Learning Yii Testing. Packt Publishing. ISBN
978-1-78439-227-7. = Journals =
Behme, Henning. "World Wide Web". iX. Winesett, Jeffrey. "Adding the Yii
Framework to Your Web Development Toolbox". php|architect.
Winesett, Jeffrey. "Yii: Flex Your Flash". php|architect.
Kreußel, Peter. "PHP-Frameworks im Überblick, Viel Holz für den Rahmen".
Linux-Magazin. Setter, Matthew. "YiiLocal – Find Stuff
Near You". php|architect. Moorjani, Philip. "Introduction to Yii
2.0". php|architect. See also
Active record pattern Comparison of Web application frameworks
Model–View–Controller Scaffold
References External links