Model layer MVC and the difference between 3-Tier architecture and MVC

1.3k views Asked by At

I am trying to figure out the difference between MVC and 3-tier architecture. I know that MVC, in big applications, applies to the presentation tier of 3-tier architecture:

If I'm right, what's the difference between the Model layer of MVC and the Logic tier of 3-tier Architecture?

2

There are 2 answers

4
Maess On

Another way to think of it is that MVC can act as the presentation layer of your 3 tier architecture.

To specifically answer your question, in MVC the Model is a representation of your data. the View presents and acts on your data and the Controller marshals your Models between the rest of your architecture (perhaps the BL of your 3 tier architecture) and the Views.

0
Serena Yeoh On

I basically treat the MVC Model as the Entities in the Layered Architecture. I have thought about this sometime back and have written about it here. http://serena-yeoh.blogspot.com/2011/12/mvc-and-layered-architecture.html

You can also get a sample implementation in code from here http://layersample.codeplex.com/