Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 21-30 of 203 result(s).

CGridView, CListView and CActiveDataProvider

Created about a year ago by softarkTutorials21 comments – viewed 66,107 times – ( +45 ) – version 1.1
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Getting to Understand Hierarchical RBAC Scheme

Created 3 years ago by daemonsTutorials17 comments – viewed 65,826 times – ( +57 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 64,643 times – ( +25 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Ajax form submiting in Yii

Created about a year ago by sirin kTutorials9 comments – viewed 64,170 times – ( +11 / -3 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

How to setup yiic on WAMP (XP/Vista)

Created 5 years ago by krillzipTutorials3 comments – viewed 63,119 times – ( +2 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 4 years ago by thyseusTutorials4 comments – viewed 58,598 times – ( +12 / -3 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Understanding Autoloading, Helper Classes and Helper Functions

Created 3 years ago by Steve FriedlTutorials4 comments – viewed 58,488 times – ( +27 ) – version 1.1
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

Simple RBAC

Created about a year ago by hasanaviTutorials15 comments – viewed 55,830 times – ( +42 / -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.

Organize directories for applications with front-end and back-end

Created 4 years ago by qiangTutorials10 comments – viewed 55,248 times – ( +28 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

How to learn Yii?!

Created 2 years ago by yJeroenTutorials9 comments – viewed 55,160 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.