From the course: MVC Frameworks for Building PHP Web Applications

Unlock the full course today

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

Yii concepts and features

Yii concepts and features

From the course: MVC Frameworks for Building PHP Web Applications

Start my 1-month free trial

Yii concepts and features

- [Instructor] Yii is a framework built for large-scale applications, and to make them perform. Let's take a look at some of the concepts and features of the Yii framework. Since 2.0, Composer has been the preferred installation. But, if you want, you can always do it the old-fashioned method by pulling it from GitHub repository, or downloading it and extracting it into your PHP environment. The Gii tool, which is a web console, can help with some basic code generation. There's a few basic concepts when working with the Yii framework. The first thing that happens when you load up a Yii application is you're going to go to the entry script, and this is going to bootstrap the entire framework. From there, it will load the controller, and from the controller, you will then load actions. Views in Yii are HTML, but can also use some PHP inside of it. It's very straightforward. There's no special template library. There are, however, some special classes like ActiveForm, which can help you…

Contents