![]() |
Controller and Model generator - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Controller and Model generator (/showthread.php?tid=61244) |
Controller and Model generator - nekalv - 04-03-2015 Hello everyone. I was playing arround trying new things, learning some python and then i came up with this little project. Its a small script that reads the structure of a database and generate a model and a controller for each table in the selected schema i know CI 3 is out so i will try to updated as soon as possible. Hope i can be useful for someone. CI 2 Generator By the way my native languague is spanish so... i will translate it for you. Just run main.py and write down the name of the database in double quotes. eg "db_project" and your done. All comments and suggestions are welcome! you can fork it as well |