Welcome Guest, Not a member yet? Register   Sign In
Do I use a model, library or helper?
#8

[eluser]noslen1[/eluser]
You're right, the fact is that using just a Model with one function to retrieve data from DB, and twenty functions to make some operations on those data, away from DB is kinda awkward to me also.
My models are just used for creating, retrieving, updating or deleting data from DB.
But I don't know what you exactly wanna do with your object. So maybe Model sounds better for your case.


Messages In This Thread
Do I use a model, library or helper? - by El Forum - 10-17-2012, 08:37 AM
Do I use a model, library or helper? - by El Forum - 10-17-2012, 02:23 PM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 01:22 AM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 01:34 AM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 01:41 AM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 02:05 AM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 02:11 AM
Do I use a model, library or helper? - by El Forum - 10-18-2012, 02:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB