After reading various topics on this forum and other blog posts on other sites, I'm curious about how a model should look in an application when using the MVC pattern.
In particular, after reading:
I too have found that I am guilty of using a "fat controller" within my applications when attempting to use an MVC. I have simply used a model for the purpose of accessing information in the database, whilst is incorrect.I'm pretty sure this idea was based from what I have previously read on the internet in terms of implementing a model.
So, after reading the above thread and blog post, I'm curious of how the model should should be implemented within a application using the MVC pattern.
Would it be possible for anyone to provide, or link me to actual code examples of how it should be implemented, even if only very brief?