When to use Active Record is a common question among developers, Yii and overall.
When to use Active Record is a common question among developers, Yii and overall.
Here's a quick tip to dump the SQL for query.
Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View
.
For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore: