The CMS (blog) example from Chapter 22 of "The Yii Book".