Welcome Guest, Not a member yet? Register   Sign In
Library, Controller, Model, Helper, or Plugin?
#1

[eluser]Dave Stewart[/eluser]
Hi there,

For my application, I've a large number of SQL select statements I want to store in an array, to be used across controllers / requests. Essentially they will deliver different table views, based on reports a user might request.

So my question is: what would be the best construct to store them in?

Should I create a library, helper, or should the requests be part of a model that is loaded in each time, or something else?

Thanks for your help,
Dave


Messages In This Thread
Library, Controller, Model, Helper, or Plugin? - by El Forum - 06-22-2008, 07:27 AM
Library, Controller, Model, Helper, or Plugin? - by El Forum - 06-22-2008, 08:45 AM
Library, Controller, Model, Helper, or Plugin? - by El Forum - 06-22-2008, 09:00 AM
Library, Controller, Model, Helper, or Plugin? - by El Forum - 06-22-2008, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB