Sorted by viewsX
Displaying 571-580 of 779 result(s).

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 9,707 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

The Comedy of Errors

Created 4 years ago by fsbOthers3 comments – viewed 9,596 times – ( +21 ) – version 1.1
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,502 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

Using phpseclib with Yii

Created 4 years ago by nkdHow-tos8 comments – viewed 9,502 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

mysql performance tip

Created 4 years ago by sirin kTips2 comments – viewed 9,496 times – ( +2 / -1 ) – version 1.1
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Creating HTML code using Jamboree Panels

Created 3 years ago by bluyellTutorials0 comments – viewed 9,427 times – ( +2 / -2 ) – version 1.1

Handling recursive deletion in Yii

Created 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 9,420 times – ( +3 ) – version 1.1
I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Understanding series articles

Created 4 years ago by GOshaTips0 comments – viewed 9,368 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Serial Numbers (item counts) in GridView

Created 4 years ago by PeRoChAkHow-tos3 comments – viewed 9,275 times – ( +1 ) – version 1.1
Sometime we need to display numbers of items per page with their counting as a serial number.

two or more different collected data in one CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 9,237 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.