Wiki

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

Shrink Yii, help your IDE and speed up copying

Created 5 years ago by dckurushinTips4 comments – viewed 10,447 times – ( +10 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Profiling using XDebug

Created 3 years ago by le_topHow-tos1 comment – viewed 10,395 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Using the jamselect widget with min and max values

Created 6 years ago by got 2 doodleHow-tos0 comments – viewed 10,394 times – ( +2 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

How to change Migration Table name and use defined prefix.

Created 3 years ago by JorgeeHow-tos1 comment – viewed 10,369 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Using recaptchlib in your projects

Created 6 years ago by Antonio RamirezHow-tos2 comments – viewed 10,356 times – ( +5 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

How to avoid a database update if the ActiveRecord was not modified

Created 2 years ago by tomvdpHow-tos0 comments – viewed 10,326 times – ( +1 ) – version 1.1
The classic Yii way for doing an update action is as follows:

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 10,211 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

Check users online, user last activity, user last ip

Created 2 years ago by frazelliHow-tos5 comments – viewed 10,178 times – ( +5 ) – version 1.1
DbHttpSession

Our WebApp that will run without downtime during update/upgrade

Created 5 years ago by Pinoy CoderzTutorials3 comments – viewed 10,150 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Using phpseclib with Yii

Created 4 years ago by nkdHow-tos8 comments – viewed 10,094 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