Wiki

Sorted by ratingX
Displaying 31-40 of 599 result(s).

Understanding the view rendering flow

Created 2 years ago by dckurushinFAQs16 comments – viewed 114,842 times – ( +89 / -3 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Uploading multiple images with CMultiFileUpload

Created 3 years ago by rsinghHow-tos16 comments – viewed 66,538 times – ( +37 ) – version 1.1
"The documentation for CMultiFileUpload isn't clear!"

Single table inheritance

Created 2 years ago by samdarkHow-tos6 comments – viewed 20,656 times – ( +37 ) – version 1.1
Relational databases do not support inheritance so if we need to represent it, we have to somehow store meta info while keeping performance by minimizing JOINs. One way to solve this problem is using single table inheritance. All fields for the whole class tree are stored in a single table. Class name is stored in the type field of the same table.

Multi level dropdown menu in Bootstrap

Created 3 months ago by sefburhanTutorials0 comments – viewed 4,872 times – ( +36 ) – version 1.1
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

CSS Naming Conventions

Created 3 years ago by qiangTutorials4 comments – viewed 25,539 times – ( +35 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

Actions code reuse with CAction

Created 3 years ago by Antonio RamirezHow-tos13 comments – viewed 26,064 times – ( +34 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Yii Related Sites

Created 3 years ago by jacmoeOthers1 comment – viewed 39,239 times – ( +33 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Extension Development (beginner)

Created 2 months ago by sefburhanTutorials2 comments – viewed 10,182 times – ( +33 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Tags manipulation using Select2 in single field

Created 2 months ago by sefburhanTutorials0 comments – viewed 1,861 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

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

Created 4 years ago by andy_sTutorials22 comments – viewed 66,969 times – ( +31 ) – 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.