Wiki

Displaying 381-390 of 693 result(s).

MVC primer and 5 minute form walkthrough

Created 2 years ago by rix.rix.Tutorials0 comments – viewed 15,377 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Real-time display of server push data using Server-Sent Events (SSE)

Created 2 years ago by bennounaHow-tos16 comments – viewed 29,524 times – ( +12 ) – version 1.1
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

Simple RBAC

Created 2 years ago by hasanaviTutorials16 comments – viewed 64,416 times – ( +45 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Events explained

Created 2 years ago by pligorTutorials9 comments – viewed 24,214 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Widget Personalizado

Created 2 years ago by CálcioTutorials0 comments – viewed 5,828 times – ( +5 ) – version 1.1
Nesse wiki vou tentar exemplificar de forma mais clara e objetiva o uso de widget com o CDataProvider.

CGridView keep state of page and sort.

Created 2 years ago by DanielHow-tos3 comments – viewed 18,913 times – ( +5 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 61,546 times – ( +25 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created 2 years ago by acorncomHow-tos23 comments – viewed 31,791 times – ( +21 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 2 years ago by RutgerHow-tos3 comments – viewed 18,324 times – ( +12 ) – version 1.1
This solution requires Yii 1.1.9 or above

How to catch and log MySQL deadlock errors

Created 2 years ago by sebTips1 comment – viewed 8,400 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database