In this tutorial we look at Working with Controllers and Rendering Views.
Yii 1.1 has actually reached its end of life. However its still used in many php applications. Yii is a great MVC framework. This tutorial looks at working with the different components of Yii.
View the tutorial here – https://app.wftutorials.com/tutorial/111
View the code here – https://github.com/wftutorials/yii-tutorial
Learn more about yii here – https://www.yiiframework.com/doc/api/1.1
Check out the most important sections of this video. View the post on the app – https://app.wftutorials.com/tutorial/111
Creating a controllers and actions – 0:08 – 1:10
Controller public variables and functions – 1:10 – 2:17
Rendering views – 2:17 – 3:12
Using controller functions and variables in views – 3:13 – 3:54
Passing data from the controller to a view – 4:00 – 4:54
Creating and using a layout – 5:17 – 5:55