Code of the second edition of Yii Application Development Cookbook