From the course: MVC Frameworks for Building PHP Web Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Yii app walkthrough

Yii app walkthrough

From the course: MVC Frameworks for Building PHP Web Applications

Start my 1-month free trial

Yii app walkthrough

- [Instructor] Now that we've installed the Yi framework, let's take a look at what's happening at the code level. So now I'm in my text editor and I'm looking at the directory structure of the Yi framework. There are a few things to note here. One, these are our runtime commands. The back is for Linux Mac environments, and Yi is for Windows environment. I have my composer.JSON file which manages all the dependencies. The config directory is where a lot of different configurations are handled. Test is the default for our particular application. So you can use this to set up application-specific elements. It's really our module but it's the application in this instance. The web PHP is where a lot of things are set up. Now an important thing to note is the routing and we've talked about this with other frameworks so I want to make sure how to cover it here. By default, Yi uses the index.php as the central script file to manage everything. And it will append all the additional…

Contents