Ok, now you have an application running with Yii framework ! You can now benefit from the large amount of extensions provided by the Yii community. But what’s an extension ? Extending Yii There are many ways to extend Yii : modules, components, helpers….but we are going to focus on...
Yii: Use themes
posted by xav
Ok, now your first Yii App is running. You have made some scaffold on one of your databases and everything is fine. Let’s imagine now that you want to have two different looks of your web APP. One look for the guests and one look for the signed in people. Well, let’s use...
Yii : CRUD scaffoldi...
posted by xav
Oh my God ! What a strange title !! Well, don’t be afraid. If you been following the other Yii tips this one is going to be easier. Let’s assume you’ve installed Wamp and let’s assume you’ve installed Yii either and that you’ve created your first webapp...
Yii : Getting connec...
posted by xav
If you have done the tutorial on How to quickly create base yii app. This is a kind of next step. Once a webapp is created it has no connection to a database. To get the app connected to a database you must provide all the necessary information inside the config file. Let’s...
Yii the fast way
posted by xav
Here goes a quickie to get started with Yii. Yii is a PHP framework. I won’t go into the very details here, but just be aware that using a framework will help you develop light speed any app that would have taken ages to do without it. I walked through many of them, Zend,...
Purify your inputs i...
posted by xav
When working with my models in Yii a tried to inject a javascript in a text area, a simple alert. And the alert popped up when I went to browse the content of my model. Hopefully, we can prevent javascript injection, and more by using a php library called HTMLPurifier. Yii does include this...


Abduzeedo