Wiki articles in category FAQs

Showing 1-3 of 3 items.
Created 5 months ago by samdark.

When to use Active Record

When to use Active Record is a common question among developers, Yii and overall.

9 0
3 followers
Viewed: 12 308 times
Version: all
Category: FAQs
Created 2 years ago by darioo, updated 2 years ago by darioo.

Show raw SQL query

Here's a quick tip to dump the SQL for query.

9 0
4 followers
Viewed: 69 564 times
Version: 2.0
Category: FAQs
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

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:

0 2
40 followers
Viewed: 30 087 times
Version: 2.0
Category: FAQs