Welcome Guest, Not a member yet? Register   Sign In
Model or Library?
#2

[eluser]Unknown[/eluser]
This is a stylistic choice in my opinion, I don't think there's one "right" answer.

My feeling on it is that programming should be a low-effort endeavour, so choose the path of least resistance. If you already have a well-defined model then there's no reason you can't load the model from within the library code, and use that as part of your library.

On the other hand a library is really intended for reuse across applications, so if it's something that's too narrowly specific to your application, my feeling is to keep it to model code, and just expand your model.

Your question is kind of vague, so if you gave a little more information about specifically what types of functions you might include in either the model or the library, it might be easier to give a specific reason to go one way or the other.


Messages In This Thread
Model or Library? - by El Forum - 02-12-2010, 08:50 PM
Model or Library? - by El Forum - 02-13-2010, 11:39 AM
Model or Library? - by El Forum - 02-13-2010, 11:45 AM
Model or Library? - by El Forum - 02-13-2010, 03:29 PM
Model or Library? - by El Forum - 02-13-2010, 04:02 PM
Model or Library? - by El Forum - 02-13-2010, 04:26 PM
Model or Library? - by El Forum - 02-13-2010, 07:34 PM
Model or Library? - by El Forum - 02-15-2010, 08:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB