Learning how to create dynamic web pages with yii