Wiki

Sorted by viewsX
Displaying 41-50 of 480 result(s).

How to learn Yii?!

Created about a year ago by yJeroenTutorials7 comments – viewed 38,839 times – ( +18 )
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.

Understanding Autoloading, Helper Classes and Helper Functions

Created 2 years ago by Steve FriedlTutorials4 comments – viewed 38,643 times – ( +23 )
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.

Accessing data in a join table with the related models

Created about a year ago by fsbHow-tos7 comments – viewed 38,253 times – ( +18 / -1 )
Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched.

Creating a CSS Driven Drop Down Menu using CMenu

Created about a year ago by blindMoeHow-tos7 comments – viewed 37,986 times – ( +19 / -1 )
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

Multiple-database support in Yii

Created 2 years ago by Steve FriedlHow-tos8 comments – viewed 37,726 times – ( +21 )
The customary configuration of a Yii application includes just a single database section in the protected/config/main.php file, but it's easy to extend this to support more than one, tying each Model to one of the databases.
tags: Database

Understanding Scenarios

Created about a year ago by Luke JurgsTutorials9 comments – viewed 37,484 times – ( +21 )
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.

How to set up Unicode

Created 4 years ago by MikeHow-tos9 comments – viewed 37,466 times – ( +16 )
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Guidelines for good schema design

Created about a year ago by Steve FriedlTips13 comments – viewed 36,712 times – ( +127 )
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.

Adding search to Yii blog example (using Zend Lucene)

Created about a year ago by dckurushinTutorials15 comments – viewed 36,050 times – ( +28 / -2 )
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

How to use PHPExcel external library with Yii

Created 2 years ago by Antonio RamirezHow-tos12 comments – viewed 35,825 times – ( +22 / -1 )
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?
tags: yii, libraries