Wiki

Articles in category "tips"X
Displaying 91-97 of 97 result(s).

Code style

Created 2 years ago by zaccariaTips2 comments – viewed 10,288 times – ( +28 )
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

Using Yii with Oracle through PDO

Created 2 years ago by TrejderTips3 comments – viewed 17,962 times – ( +1 )
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Extending CActiveForm for some form display fixes and language tweaks

Created 2 years ago by TrejderTips0 comments – viewed 8,458 times – ( +5 )
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Saving files to a blob field in the database

Created 2 years ago by zaccariaTips7 comments – viewed 26,218 times – ( +6 / -2 )
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload

Configuring PhpStorm IDE for Yii

Created 2 years ago by samdarkTips13 comments – viewed 41,734 times – ( +50 / -1 )
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

Ajax update

Created 2 years ago by zaccariaTips1 comment – viewed 32,904 times – ( +20 / -2 )
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Reading the doc

Created 2 years ago by zaccariaTips0 comments – viewed 5,253 times – ( +21 )
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc