Wiki

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

Profiling using XDebug

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

How to change Migration Table name and use defined prefix.

Created 3 years ago by JorgeeHow-tos1 comment – viewed 10,132 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.

Background task with Ajax

Created 10 months ago by Alexandre RodichevskiTutorials0 comments – viewed 10,063 times – version 1.1
Web applications normally execute almost immediately the user's requests. But some requests, like statistical reports, take long time to execute.

How to create/update a model with its related items using Listbox or CheckboxList

Created 12 months ago by softarkTutorials1 comment – viewed 10,049 times – ( +4 ) – version 2.0
Assume we have many categories and many posts.

Our WebApp that will run without downtime during update/upgrade

Created 5 years ago by Pinoy CoderzTutorials3 comments – viewed 10,045 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

model rules depended by user roles-permissions

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

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

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

The Comedy of Errors

Created 5 years ago by fsbOthers3 comments – viewed 9,817 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.

Check users online, user last activity, user last ip

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