Yii Application Development Cookbook Second Edition
Using regular expressions in URL rules
Creating URL rules for static pages
Providing your own URL rules at runtime
Displaying static pages with CViewAction
Using the controller context in a view
Including resources in the page
Passing configuration from PHP to JavaScript
Handling variable number of inputs
Rendering content at the client side
Creating a custom input widget with CInputWidget
Setting up the testing environment
Writing and running unit tests
Testing the application with functional tests
Generating code coverage reports
Database, Active Record, and Model Tricks
Defining and using multiple DB connections
Using scopes to get models for different languages
Processing model fields with AR event-like methods
Setting up an author automatically
Implementing single table inheritance
Creating reusable controller actions
Creating a custom view renderer
Making extensions distribution-ready
Error Handling, Debugging, and Logging
Analyzing the Yii error stack trace
Logging and using the context information
Implementing your own smart 404 handler
Using CHtml and CHtmlPurifier to prevent XSS
Using cache dependencies and chains
Profiling an application with Yii
Customizing the Yii autoloader
Changing the Yii directory layout
Moving an application out of webroot
Sharing the framework directory
Moving configuration parts into separate files
Using multiple configurations to simplify the deployment