Sorry if this is a dumb question, but where is the best place to put business logic (not sure if thats the right term). For example I am using a model to run a select query, that just returns the results of that query to a controller. I need to take that results set and put half of it in one array, and half in another. Right now I use two private functions in the controller to do this, but I’m not sure if this is a “good way” of doing things.
|
Where to put business/application logic?
|
|
|||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
