Sorted by date (updated)X
Displaying 431-440 of 600 result(s).

Rendering a view file in a console application

Updated 2 years ago by TompiHow-tos1 comment – viewed 6,725 times – ( +3 / -1 ) – version 1.1
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

How to add a named scope to ActiveRecords with a behavior

Updated 2 years ago by yiqing95Tutorials2 comments – viewed 13,869 times – ( +4 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

Searching and sorting by related model in CGridView

Updated 2 years ago by redguyTutorials72 comments – viewed 107,561 times – ( +104 ) – version 1.1
Lets say we have two models and relation between them:

How to use Flash, Zend AMF and Yii Framework

Updated 2 years ago by janistoTutorials0 comments – viewed 7,854 times – ( +3 ) – version 1.1
This is a simple demo how to use Zend_AMF with Yii.
tags: flash, zend, Zend_AMF, AMF

CPhpAuthManager - how it works, and when to use it

Updated 2 years ago by François GannazHow-tos5 comments – viewed 17,556 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file

Using events with CAction classes

Updated 2 years ago by 张 迪Tips0 comments – viewed 10,032 times – ( +9 ) – version 1.1
There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers the following way.

Yii Security-extended guide

Updated 2 years ago by bingjie2680Tips11 comments – viewed 13,437 times – ( +6 / -6 ) – version 1.1
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Manage application configuration in different modes

Updated 2 years ago by 张 迪Tutorials5 comments – viewed 27,463 times – ( +15 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

How to validate CSRF token with session

Updated 2 years ago by yangmlsHow-tos1 comment – viewed 28,442 times – ( +19 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Increasing AR performance in connections with Oracle

Updated 2 years ago by Igoru-sanHow-tos9 comments – viewed 14,969 times – ( +1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.