Wiki

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

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 10,937 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Background task with Ajax

Created about a year ago by Alexandre RodichevskiTutorials0 comments – viewed 10,857 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.

WordPress Role Based Authentication in Yii

Created 3 years ago by Bob GTutorials0 comments – viewed 10,784 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.

Application-driven database with CDbMigration and an extended CActiveRecord

Created 5 years ago by Tudor IlisoiOthers0 comments – viewed 10,750 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

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

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

Preventing CJuiTabs from hiding drop-down CMenu items

Created 6 years ago by Steve FriedlTips1 comment – viewed 10,661 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 10,653 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".

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 10,602 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

CGridView keep focus on the control after filtering

Created 5 years ago by jayalaHow-tos4 comments – viewed 10,572 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

How to make use of a fragment cache

Created 8 years ago by dalipTutorials0 comments – viewed 10,483 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache