In my second video tutorial about Yii Framework 2 I’m explaining Yii project structure. This is very important tutorial for developers who want to learn Yii framework.

Yii Framework 2 follows MVC (Model, View, Controller) design pattern. Apart from folders where models, views and controllers will be saved, every Yii project consists of several other folders. Here is a full project structure for basic template application:

Folder name Explanation
assets Asset bunles
commands Console applications
config Configuration files
controllers Application controllers
mail Mail layouts
models Application models
runtime Application runtime logs
tests Unit, functional and acceptance tests in Code Caption
vendor Yii framework files and other libraries
views Application views
web Publicly exposed folder containing css, js, image files and index.php used for instatiating Yii Application object.

Video deeply explains every folder and folder contents.

Yii Framework 2 - Project structure - Video Tutorial 2http://code-epicenter.com/wp-content/uploads/2015/12/Yii2-Project-structure-Video-tutorial1-1024x632.pnghttp://code-epicenter.com/wp-content/uploads/2015/12/Yii2-Project-structure-Video-tutorial1-150x150.pngAmir DuranPHPProgrammingTutorialsVideo TutorialsYii 2PHP,tutorial,video tutorial,Yii framework
In my second video tutorial about Yii Framework 2 I'm explaining Yii project structure. This is very important tutorial for developers who want to learn Yii framework. Yii Framework 2 follows MVC (Model, View, Controller) design pattern. Apart from folders where models, views and controllers will be saved, every Yii project...