Blog service implemented in yii framework