Wiki

Sorted by ratingX
Displaying 1-10 of 784 result(s).

Guidelines for good schema design

Created 5 years ago by Steve FriedlTips15 comments – viewed 87,240 times – ( +144 / -1 ) – version 1.1
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Reference: Model rules validation

Created 7 years ago by krillzipHow-tos7 comments – viewed 737,466 times – ( +128 / -1 ) – version 1.1
This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

Searching and sorting by related model in CGridView

Created 5 years ago by Maciej LiżewskiTutorials86 comments – viewed 197,434 times – ( +126 / -1 ) – version 1.1
Lets say we have two models and relation between them:

How to write secure Yii applications

Created 5 years ago by François GannazHow-tos20 comments – viewed 239,065 times – ( +108 / -1 ) – version 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

Using CButtonColumn to customize buttons in CGridView

Created 6 years ago by TrejderHow-tos19 comments – viewed 288,308 times – ( +101 / -1 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Yii for beginners

Created 5 years ago by rackyczTutorials13 comments – viewed 304,122 times – ( +99 / -1 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

By Example: CHtml

Created 7 years ago by jonahTutorials15 comments – viewed 844,842 times – ( +117 / -2 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

How-To: Create a REST API

Created 6 years ago by jwernerHow-tos57 comments – viewed 355,402 times – ( +113 / -2 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

The directory structure of the Yii project site

Created 6 years ago by qiangOthers42 comments – viewed 175,982 times – ( +87 / -1 ) – version 1.1
In this article, we describe the directory structure used by yiiframework.com - the official Yii framework website. While this structure may look overly complicated for small projects or may not be optimal in some sense, we believe it is appropriate for medium or large projects in a team development environment. In fact, we have successfully used the similar structure in some other big projects.
tags: directory, config

NetBeans IDE and Yii projects

Created 6 years ago by marcovtwoutTutorials28 comments – viewed 198,140 times – ( +76 / -1 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.