Rahul Sharma (Editor)

Yii

Updated on
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Covid-19
Development status  Active
Operating system  Cross-platform
Written in  PHP
Stable release  2.0.11 / February 1, 2017 (2017-02-01)
Repository  github.com/yiisoft/yii2
Type  Web application framework

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!".

Contents

History

Yii started as 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.9 also supports PHP7.

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.
  • 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.

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

    References

    Yii Wikipedia


    Similar Topics
    Yiin Chii ming
    The Four (film)
    Michel Abramowicz
    Topics
     
    B
    i
    Link
    H2
    L