| 3 | 3 | Model-Glue provides a great separation of concerns when it comes to your web application. It helps you clearly differentiate between views, controllers, and model files. However, sometimes there are utilities that don't quite fit in the MVC design. Consider a utility that formats strings such that URLs and email addresses are automatically linked. Where would you put that? It isn't a controller concern. It isn't a model. You could simply put it in a view file, but then you end up (possibly) repeating the same function in multiple places. |