Wiki

Sorted by commentsX
Displaying 81-90 of 597 result(s).

Using Yii with Nginx and PHP-FPM

Created 3 years ago by LericHow-tos10 comments – viewed 36,559 times – ( +17 ) – version 1.1
This config is built on an Ubuntu 11.04 server. Software is nginx, php-fpm (php5-fpm). For performance, it's recommended to run php-fpm in SOCKET mode, instead of accessing via IP:PORT. That is the method shown below.

Understanding "Safe" Validation Rules

Created 3 years ago by Steve FriedlFAQs10 comments – viewed 63,347 times – ( +83 / -1 ) – version 1.1
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 39,703 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

How to use YiiBooster TbFileUpload widget

Created about a year ago by Antonio RamirezHow-tos10 comments – viewed 24,705 times – ( +10 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Special $variables in CGridView and CListView

Created 2 years ago by Steve FriedlTips10 comments – viewed 36,981 times – ( +23 / -1 ) – version 1.1
The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

How to learn Yii?!

Created 2 years ago by yJeroenTutorials9 comments – viewed 55,200 times – ( +19 ) – version 1.1
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Relational Query - Lazy Loading and Eager Loading / with and together

Created 9 months ago by softarkTutorials9 comments – viewed 11,952 times – ( +12 )
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

How to work with flash messages

Created 5 years ago by pfthTutorials9 comments – viewed 139,172 times – ( +57 ) – version 1.1
Set your messages in a controller:

Model password confirmation field.

Created 2 years ago by twisted1919How-tos9 comments – viewed 41,491 times – ( +11 / -1 ) – version 1.1
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

Behaviors & events

Created 4 years ago by pestaaTutorials9 comments – viewed 76,473 times – ( +49 ) – version 1.1
These features provide endless possibilities and unbelievable flexibility, but as current documentation does not give more than a few examples, it might be difficult to fully understand their internals and requirements.