Welcome Guest, Not a member yet? Register   Sign In
What's the right place for sort algorithm? Model? View? Controller?
#2

[eluser]davidbehler[/eluser]
I would go with the first option and put it in the model file.
View and controller are definetly the wrong places as the view only displays the data it gets from the controller and the controller does all the logic between getting the data (from the model) and displaying it (in the view file).


Messages In This Thread
What's the right place for sort algorithm? Model? View? Controller? - by El Forum - 08-12-2009, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB