Example web app coded in Yii