Wiki articles in category FAQs

Showing 1-3 of 3 items.

When to use Active Record

Created a year ago by samdark, updated a month ago by samdark.

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

10 0
3 followers
Viewed: 45 950 times
Version: all
Category: FAQs

Show raw SQL query

Created 3 years ago by darioo, updated 3 years ago by darioo.

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

15 0
4 followers
Viewed: 131 861 times
Version: 2.0
Category: FAQs

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

Created 6 years ago by Kartik V, updated 6 years ago by Kartik V.

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: 36 102 times
Version: 2.0
Category: FAQs