NEW DATAMAPPER MODELS GENERATOR - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: NEW DATAMAPPER MODELS GENERATOR (/showthread.php?tid=57226) |
NEW DATAMAPPER MODELS GENERATOR - El Forum - 02-27-2013 [eluser]Unknown[/eluser] i find it pretty tiring job to create datamapper models each time you get to a different project especially if it's database schema is a complex one ... so i've decided to make a models generator but it needs some modifications ... i work with the wanwizard version of orm here and there are two main pieces missing from it which are : 1-table relations which i only could get from the table difinition of the mysql db by the query {show index from table_name} 2-distinguishing the weak entity relations from the main relations in the models making process the generator file i made takes the database name and connection host , user, pass details if anyone could help me in making it a good thing or advise me to get it enhanced , i would appreciate it here is a prototype of what i meant to make in the attachments NEW DATAMAPPER MODELS GENERATOR - El Forum - 07-18-2013 [eluser]quickshiftin[/eluser] Nice work! |