Event oriented web app template based on yii framework