CodeIgniter Forums

Full Version: Controller and Model generator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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