Wiki

Sorted by viewsX
Displaying 491-500 of 784 result(s).

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created about a year ago by softarkTutorials0 comments – viewed 14,802 times – ( +6 / -1 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created 2 years ago by Scott_HuangHow-tos1 comment – viewed 14,696 times – ( +5 / -1 ) – version 2.0
1. Create Extension in yii2.

default csrf security and ajax post in one controller

Created 3 years ago by jasonbanTutorials3 comments – viewed 14,650 times – ( +1 / -4 ) – version 1.1
Hello Yii friends

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 14,595 times – ( +2 / -2 ) – version 2.0
This tutorial is explained following "basic" application structure.

Show raw SQL query

Created 8 months ago by dariooFAQs0 comments – viewed 14,571 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 3 years ago by Antonio RamirezHow-tos2 comments – viewed 14,550 times – ( +4 / -1 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 4 years ago by Xgamer99Tips3 comments – viewed 14,480 times – ( +1 / -1 ) – version 1.1
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

More security in your applications with Yii and PHPIDS

Created 6 years ago by Rafael GarciaHow-tos1 comment – viewed 14,468 times – ( +8 / -1 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Using MBMenu and Rights to automatically create menu item for your modules

Created 6 years ago by dinhtrungTips2 comments – viewed 14,443 times – ( +1 / -2 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 4 years ago by sebTips0 comments – viewed 14,439 times – ( +1 / -2 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test