In chapter 8, the book says that it’s a good practice to have all interactions with a model in a dedicated controller.
However, once we are in the chapters about templating (14-15), we create several controllers interacting with several models dedicated to control the website.
My questions are :
- First, does all the controllers we’ve created in the previous chapters (AcronymsController, CategoriesController, UsersController) useless for the interaction with the website ?
- Secondly, is this the best practice to integrate all the routes related to the website within the same controller ?