Wiki

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

CJuiDialog for create new model

Created 3 years ago by zaccariaTutorials44 comments – viewed 75,803 times – ( +63 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

Setting and maintaining the language in Application (i18n)

Created 5 years ago by olafureTutorials11 comments – viewed 74,984 times – ( +23 ) – version 1.1
As seen in this post, Yii doesn't enforce how language is set and maintained within the session.
tags: i18n, translation

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Created 4 years ago by andy_sTutorials22 comments – viewed 74,777 times – ( +33 ) – version 1.1
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 74,320 times – ( +27 ) – 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.

Getting to Understand Hierarchical RBAC Scheme

Created 3 years ago by daemonsTutorials17 comments – viewed 71,293 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.

How to setup yiic on WAMP (XP/Vista)

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

Understanding Autoloading, Helper Classes and Helper Functions

Created 3 years ago by Steve FriedlTutorials4 comments – viewed 65,042 times – ( +29 ) – 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 2 years ago by hasanaviTutorials16 comments – viewed 62,845 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.

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

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

How to learn Yii?!

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