Read Yii 1.1 Application Development Cookbook