In a MVC application, should the controller or the model handle data access? [closed]
All business logic should be in the MODEL. Remember, the responsibilities of each layer are thus: Controller – bridge between the model and view. Decides where to go next. View – displays the data, gathers user input Model – business logic, interface to data store. One of the biggest gains is in maintenance and (later) … Read more