what is the difference between 3-tier architecture and MVC?
what is the difference between 3-tier architecture and MVC?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jul 21, 2014, 7:11 AM
hi,
3-tier is a Architecture Style and MVC is a Design Pattern.
A Basic rule in a three tier architecture is the client (Presentation) tier never communicates directly with the data tier. It means all communication must pass through the middle tier. Conceptually the three-tier architecture is linear
where as MVC architecture is triangular..
i.e. view sends updates to the controller -> the controller updates the model -> view gets updated directly from the model
hope this will help you.
Guest UserPosted Jul 21, 2014, 4:32 AM
MVC is pattern of coding which you can implement at server side or front end technologies like JS. On the opposite 3-tier architecture is
Server - MiddleWare (business logic) - Client
it can be translated into architecutre as
Database - IIS - Browser
twitter @sumitjolly