CI Class for auto building CRUD and relations |
[eluser]Unknown[/eluser]
Hello all. I have been designing a core class that automatically builds getters, settings, saves, and deletes based on a table that you pass in. I'm in the the process of extending it to readin parent and child relations (kinda like how CakePHP does). The main difference between what I am designing is that its tightly coupled with MySQL/Innodb. The reason I've done this is it determines the relations based on foreign key definitions defined in InnoDb. I think it runs pretty fast even though it has to read in table schemas because I am using file cache (will use APC cache if enabled too) so it only has to do 1 initial sql lookup and after that it reads from cache. I blogged on this here (this is an older version that does not automatically read in parent/child relations just the base model) and was wondering if I created a GIT project for this if anyone would be interested in using/committing enhancements and bug fixes to the project. I have it powering 1 website right now and working on a 2nd. |
Welcome Guest, Not a member yet? Register Sign In |