Small training project on Yii framework