Welcome Guest, Not a member yet? Register   Sign In
Library Vs Model
#8

[eluser]theprodigy[/eluser]
I use libraries as objects, period. Whether I need to save them to the database or not. And as stated in my original post to RossMurphy, I use models to access databases, access api's, etc. If I want to use objects, and not save them to a database, or submit them elsewhere, or anything else, then it makes no sense to me to be in a model. To me, (as stated previously, models are for accessing OUTSIDE your web app. Libraries are for basic object types, that MAY get saved, may not.

I think in this instance, we will just have to agree to disagree. I don't plan to never use custom libraries. I like using libraries to help sort out the controller code when apps get a little more complex then normal.


Messages In This Thread
Library Vs Model - by El Forum - 02-01-2010, 03:36 PM
Library Vs Model - by El Forum - 02-01-2010, 07:28 PM
Library Vs Model - by El Forum - 02-01-2010, 07:35 PM
Library Vs Model - by El Forum - 02-01-2010, 07:37 PM
Library Vs Model - by El Forum - 02-01-2010, 07:42 PM
Library Vs Model - by El Forum - 02-01-2010, 07:57 PM
Library Vs Model - by El Forum - 02-01-2010, 08:08 PM
Library Vs Model - by El Forum - 02-01-2010, 08:14 PM
Library Vs Model - by El Forum - 02-03-2010, 08:43 AM
Library Vs Model - by El Forum - 02-05-2010, 04:35 PM
Library Vs Model - by El Forum - 02-06-2010, 12:19 AM
Library Vs Model - by El Forum - 02-11-2010, 08:46 AM
Library Vs Model - by El Forum - 04-04-2012, 07:40 PM
Library Vs Model - by El Forum - 04-04-2012, 08:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB