CodeIgniter Forums
Auto generate Model, views, controler from table's sql - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Auto generate Model, views, controler from table's sql (/showthread.php?tid=42469)



Auto generate Model, views, controler from table's sql - El Forum - 06-08-2011

[eluser]mysterious[/eluser]
Some frameworks generate these files automatically from database tables (symfony, YII). Is it possible in CodeIgniter's?? If not , why not?? If yes, How ??


Auto generate Model, views, controler from table's sql - El Forum - 06-08-2011

[eluser]donald.tbd[/eluser]
I dont think it is possible in the basic version but some people have made "plugins" like that. Search google for "codeigniter crud generator" and im sure you will find many different possibilities.


Auto generate Model, views, controler from table's sql - El Forum - 06-09-2011

[eluser]mysterious[/eluser]
thanks donald...googled for “codeigniter crud generator” and found this http://projects.keithics.com/crud-generator-for-codeigniter/ . Let me give it a try then i will share my experience.

BTW i thought CI will have this feature built in. Now i m confused, if CI is one of best php framework then why it does not have CRUD generator feature ?? Thoughts ??


Auto generate Model, views, controler from table's sql - El Forum - 06-09-2011

[eluser]TWP Marketing[/eluser]
[quote author="mysterious" date="1307617725"]thanks donald...googled for “codeigniter crud generator” and found this http://projects.keithics.com/crud-generator-for-codeigniter/ . Let me give it a try then i will share my experience.

BTW i thought CI will have this feature built in. Now i m confused, if CI is one of best php framework then why it does not have CRUD generator feature ?? Thoughts ??[/quote]

CI let's you make your own designs, rather than offering a single style as the defacto standard. You will find several CRUD generators have been offered by the community, each has different features. The same is true of utilities (Authorization, etc.). Do a search of the CI Wiki and this forum. It is a case of one size does not fit all.


Auto generate Model, views, controler from table's sql - El Forum - 07-03-2011

[eluser]hellogxp[/eluser]
i think the utilities should include the CRUD generator wow