Yii database Migration
migration is used to update the database using code only we have to include file contain updation inside migrate table Before creating migration we have to edit default content of “protected/config/console.php” change the content of ‘db’=>array(); and connect to the database table in which we have to do database migration yiic migrate create <name> [eg: yiic...
Install phpmyadmin linux
Install phpmyadmin in linux sudo apt-get install lamp-server^ sudo apt-get install phpmyadmin sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf sudo /etc/init.d/apache2 reload
How to change search engine in firefox?
open firefox then type “about:config” in address bar then type “keyword.URL” in filter field double click the result to change preference Google: “http://www.google.com/search?ie=UTF-8&q=” Bing: “http://www.bing.com/search?q=” Yahoo: “http://search.yahoo.com/search?p=” Ask: “http://www.ask.com/web?q=”
For installing yii first we have to find the path to yiic located in yii framework folder which downloaded from web "% YiiRoot/framework/yiic webapp WebRoot/helloworld" this will create an app named as helloworld in the location webroot in windows7 we must edit yiic.bat file in “% YiiRoot/framework/” if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe the above line must be...
Hi, all am leaving from pure php programing.Instead of using frameworks.And i am going to start with yii now its because it reduce our programing effort.And it can generate some parts like model,module,CRUD etc using gii.so it make coding easy and can concentrate more on logical part of the program.moreover it use OOP(object oriented programing)concept which will help us to reuse the code and...