Here’s a poser:
Imagine you have a nice application set up following a model - view - controller architecture.
Picture some data arrays held in the model, who’s update() function sends a copy of the relevant bits of the current data to the view. The view picks up the data and renders it as some sort of table, with some buttons, text inputs etc. In response to some of the user input you want your controller to update the data in the model, which of course then refresh the view, etc, etc.
Now say you want to update a log, or a database, sometimes, somewhere in between the user input and the view refresh. You have a nice sendAndLoad(XML) connection. Where does it belong?
In the controller or in the model?