I'm building a website and I haven't done MVC before, but I feel like I'm understanding it (hopefully).
I have controllers, and models, and views for different aspects of the website, like register has its own controller, model, and view.
The website has a login panel on the main page, and account management panel, on the main page.
Thus, through the index controller, I have loaded a login model, and accountManagement model, through this one controller.
I don't know of any other ways to do it - without duplicating functionality - since these are all displayed on the main page, depending on whether the user has various cookies.
I was wondering about the coding practice when it comes to this (multiple models loaded in one controller), and possible suggestions, if it is a bad practice.
There are existing threads on "how can i load two models in one controller", and so on, however, my question is specifically about the coding practice of this, and I couldn't find a question for that.