Welcome Guest, Not a member yet? Register   Sign In
auto generating models from DB solution
#4

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.
Reply


Messages In This Thread
RE: auto generating models from DB solution - by Diederik - 12-20-2016, 02:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB