Wiki

Sorted by viewsX
Displaying 561-570 of 774 result(s).

Profiling using XDebug

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

mysql performance tip

Created 3 years ago by sirin kTips2 comments – viewed 9,271 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

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 9,265 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

Creating HTML code using Jamboree Panels

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

Understanding series articles

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

Load data from internal/external source to fill form fields

Created about a year ago by skwordenHow-tos3 comments – viewed 9,165 times – ( +1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

How to show Image view after upload and delete view image using eajaxupload extension

Created 2 years ago by Ankit ModiHow-tos0 comments – viewed 9,163 times – ( -1 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,

Handling recursive deletion in Yii

Created 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 9,147 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com 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.

model rules depended by user roles-permissions

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