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,...
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 : 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: 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 extensions
posted by xav
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: Multilingual si...
posted by xav
Nowadays, if you want to get in touch with the world, you’ve got to think about the people who don’t speak your native language. In Yii there is a simple mechanism to integrate translation. While it’s a quite a long topic I will try to make it short and basic. The setup It is...
Beautiful URL in YII...
posted by xav
Ok, here goes a fine tip to remove the “index.php” from the URL. I did it on Apache with mod_rewrite on. In your httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so First of, create a .htaccess file in the roor directory of your webapp (where index.php is), and put...


Abduzeedo