Where are the menu,header,footer loaded in an MVC structures
- by Saif Bechan
I am creating an framework in PHP, and i am using and MVC structure. My link look something like this: mydomain.com/controller/action
So this link loads a controller, which loads the needed action. Now my page needs a header, footer, and it has a menu which is in the database. Where do i load all these things.
Is this the job of the controller, or the job of the model.