The last few days, I have extensively read books and web pages about OOP and MVC in PHP, so that I can become a better programmer. I\'ve come upon a little problem in my und
Model and Entity Classes represents the data and the logic of an application, what many calls business logic. Usually, it’s responsible for:
Here is the MVC Sequence Diagram which shows the flow during a http request:

In this case Model is the best place to implement the code realted to access database.