Welcome Guest, Not a member yet? Register   Sign In
CRUD Model for Codeigniter 2.0
#7

[eluser]taggedzi[/eluser]
After a good deal of thinking. I have decided that I will leave this in its "library" form for now. This allows developers to extend "MY_Model" very easily (if they want too), but does not force them to load something or do calls a particular way. They could even chose to auto detect the table if they wanted too... but I would not include that into the general library.

I think this offers the greatest flexibility for the developer to implement it as they need on a per case basis, without forcing them to implement it in any specific way that might be counter-intuitive to what they need or want on a particular project.

I can certainly see the usefulness of your suggestion in certain circumstances... but I can also see where I would not like it in others. Because it is so easy to modify (or use to extend the Model class)... I will leave it as is unless I find a better way to do it, I trust the developers to implement it as they need, be that as a library or an extension of the CI core classes.

Thanks for the input, it is much appreciated.


Messages In This Thread
CRUD Model for Codeigniter 2.0 - by El Forum - 05-24-2011, 11:21 PM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-25-2011, 04:00 AM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-25-2011, 10:55 AM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-25-2011, 03:21 PM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-25-2011, 04:48 PM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-26-2011, 03:31 AM
CRUD Model for Codeigniter 2.0 - by El Forum - 05-29-2011, 10:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB