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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.