Page 1 of 1
New to yii , Let us explore
#3
Posted 21 November 2011 - 01:53 AM
Let me know if need help
Yii Help
http://phpyiiwebapp.wordpress.com/
http://phpyiiwebapp.wordpress.com/
#4
Posted 25 November 2011 - 07:40 AM
im new to yii plz help me to know how can i create ma first simple application in yii... plz do explain briefly
#5
Posted 25 November 2011 - 07:44 AM
vidhi, on 25 November 2011 - 07:40 AM, said:
im new to yii plz help me to know how can i create ma first simple application in yii... plz do explain briefly
Please go through with below link...
http://www.yiiframew...start.first-app
If you still don't understand then watch videos on you tube.. Everything is explained very clearly..
#6
Posted 06 January 2012 - 11:52 PM
please anybody help me out wid ma query.
For creating an yii application, i have created the database first and then using gii tool i have created the models, controllers, etc. which are related to the database i have created. Now my question is, if now i have to make some changes in the database and want that there should be change in models, controllers too i.e; according to the change in the database. Now how can i overcome this problem.. or is there any other method to create an application in which we can make changes in database and automatically there is change in models, controllers, etc. . please do reply im new to yii.
For creating an yii application, i have created the database first and then using gii tool i have created the models, controllers, etc. which are related to the database i have created. Now my question is, if now i have to make some changes in the database and want that there should be change in models, controllers too i.e; according to the change in the database. Now how can i overcome this problem.. or is there any other method to create an application in which we can make changes in database and automatically there is change in models, controllers, etc. . please do reply im new to yii.
#7
Posted 17 January 2012 - 06:15 AM
vidhi, on 06 January 2012 - 11:52 PM, said:
please anybody help me out wid ma query.
For creating an yii application, i have created the database first and then using gii tool i have created the models, controllers, etc. which are related to the database i have created. Now my question is, if now i have to make some changes in the database and want that there should be change in models, controllers too i.e; according to the change in the database. Now how can i overcome this problem.. or is there any other method to create an application in which we can make changes in database and automatically there is change in models, controllers, etc. . please do reply im new to yii.
For creating an yii application, i have created the database first and then using gii tool i have created the models, controllers, etc. which are related to the database i have created. Now my question is, if now i have to make some changes in the database and want that there should be change in models, controllers too i.e; according to the change in the database. Now how can i overcome this problem.. or is there any other method to create an application in which we can make changes in database and automatically there is change in models, controllers, etc. . please do reply im new to yii.
If you are changing the rows or columns that is adding a new row or column or even deleting them then I think making the relative changes in the model file of the table is the only way. Like if you make a new column then add it to each and every function of the model. I think that should do the trick but I have not tried it myself. You could also create the whole table using gii all over again.
#8
Posted 17 January 2012 - 06:16 AM
Vidhi if you try it let me know if adding it to the model works
#9
Posted 23 January 2012 - 03:54 AM
I feel one may directly assign value to a column from table without being defined into Model.
Yii beautifully reads table schema and identifies attributes.
Yii beautifully reads table schema and identifies attributes.
#11
Posted 05 October 2012 - 12:22 AM
I am very new to Yii. I want to pull data from database and show it as dropdown list.. help please...
Share this topic:
Page 1 of 1

Help










