In this post i will explain the Basic features and installation of Yii Framework. A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and they often promote code reuse.
Yii installation in windows
History of Yii Framework
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.[4] 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.
Features of Yii Framework
Directory structure
The basic application does not divide application directories much. Here’s the basic structure:
assets
– application asset files.AppAsset.php
– definition of application assets such as CSS, JavaScript etc. Check Managing assets for details.commands
– console controllers.config
– configuration.controllers
– web controllers.models
– application models.runtime
– logs, states, file cache.views
– view templates.web
– webroot.If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: MVC, Php Framework, Yii