Wiki

Sorted by viewsX
Displaying 451-460 of 719 result(s).

Application-driven database with CDbMigration and an extended CActiveRecord

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

Yet another implementation of CPhpAuthManager.

Created about a year ago by seenivasanHow-tos3 comments – viewed 8,670 times – ( +8 / -1 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

How to create Module based Login

Created 10 months ago by turiHow-tos1 comment – viewed 8,636 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

PHPStorm & NetBeans autocomplete problem

Created about a year ago by StagelineTips2 comments – viewed 8,571 times – ( +23 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

ISA hierarchy of tables inside a database and how to implement a single form

Created 3 years ago by pligorHow-tos2 comments – viewed 8,511 times – ( +1 ) – version 1.1
Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench:

Our WebApp that will run without downtime during update/upgrade

Created 3 years ago by Pinoy CoderzTutorials3 comments – viewed 8,490 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 the jamselect widget with min and max values

Created 4 years ago by got 2 doodleHow-tos0 comments – viewed 8,437 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.

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 2 years ago by sebTips0 comments – viewed 8,437 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created about a year ago by Ankit ModiTutorials2 comments – viewed 8,435 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Creating a Dependent Dropdown From Scratch in Yii2

Created 5 months ago by ThePr0f3550rHow-tos1 comment – viewed 8,400 times – ( +4 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement