Welcome Guest, Not a member yet? Register   Sign In
Should I use models OR libraries?
#10

[eluser]junkwax[/eluser]
my models are not "disorganized mess" =) I just do not see the benefit of libraries vs models for business logic. Accessing CI stuff with $this->CI->BLABLA is not very clean in my opinion si in modelsI can access CI stuff directly with $this->BLABLA

Maybe libraries are ok for external 3rd party libs, but even so, you cannot instantiate some of these without modifying their constructors because you can only call load->library with arrays as constructor args?


Messages In This Thread
Should I use models OR libraries? - by El Forum - 03-17-2009, 07:59 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 08:15 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 08:21 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 08:42 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 09:12 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 09:22 AM
Should I use models OR libraries? - by El Forum - 03-17-2009, 09:26 AM
Should I use models OR libraries? - by El Forum - 03-19-2009, 09:31 PM
Should I use models OR libraries? - by El Forum - 03-19-2009, 10:12 PM
Should I use models OR libraries? - by El Forum - 03-19-2009, 10:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB