auto generating models from DB solution |
I have created my own generator (webbased) wich generates a zip file with an HMVC module with a basic controller (public and admin), a model (with validation rules), admin view file, language files, a migration file and an empty config file. Everything I need to get started quickly.
Such a generator is extremely personalized and anything but a general solution. My admin view file for exemple is full with Bootstrap code, font-awesome and other classes I use in my overall CMS system. It also depends on spesific things in my own MY_Model, MY_Controller (admin and public), MY_Formvalidation, etc etc... For those same reasons I think making a general system wich makes everyone happy cannot be done. I believe multiple people here have such generators, most use CLI for file generation. For example: https://github.com/avenirer/codeigniter-matches-cli There also is an online generator somewhere on the web that you could use. |
Messages In This Thread |
auto generating models from DB solution - by brian85 - 12-19-2016, 01:01 PM
RE: auto generating models from DB solution - by PaulD - 12-19-2016, 04:24 PM
RE: auto generating models from DB solution - by brian85 - 12-20-2016, 12:57 PM
RE: auto generating models from DB solution - by buoncri - 12-20-2016, 12:16 AM
RE: auto generating models from DB solution - by PaulD - 12-20-2016, 11:35 AM
RE: auto generating models from DB solution - by brian85 - 12-20-2016, 01:06 PM
RE: auto generating models from DB solution - by Diederik - 12-20-2016, 02:11 AM
RE: auto generating models from DB solution - by brian85 - 12-20-2016, 01:00 PM
|