Wiki

Sorted by viewsX
Displaying 551-560 of 771 result(s).

WordPress Role Based Authentication in Yii

Created 2 years ago by Bob GTutorials0 comments – viewed 9,580 times – ( +4 / -1 ) – version 1.1
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

Our WebApp that will run without downtime during update/upgrade

Created 4 years ago by Pinoy CoderzTutorials3 comments – viewed 9,580 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

关于Yii CHttpSession性能优化篇之源码流程分析

Created 4 years ago by Darwin WenTips0 comments – viewed 9,541 times – ( +1 / -1 ) – version 1.1
当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

How to get & store Last Login DateTime in database?

Created about a year ago by Rohit SutharHow-tos2 comments – viewed 9,439 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

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

Created 2 years ago by Antonio RamirezHow-tos2 comments – viewed 9,436 times – ( +4 ) – 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.

The Comedy of Errors

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

How to change Migration Table name and use defined prefix.

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

mysql performance tip

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

Profiling using XDebug

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

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created 2 years ago by Louis GacTutorials1 comment – viewed 9,211 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew