Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi guys!!

I have read a lot about both, but still confused. Does MVC and 3-Tier both are same? If yes then why these two exists, just for different naming? If no then what are the basic and main differences in these two?

Please Reply(No extra links Please as I have already googled it but got nothing useful).

Thanks.
Posted

1 solution

No they aren't the same, though they do have similarities. Formally, in a 3-tier system, there is no communication between the data tier and the ui/presentation tier, both must communicate with the logic/model tier/ The topology is layered:

Presentation / GUI
------------------
Logic / OM
------------------
Data Access


In MVC the view passes information into the controller, the controller updates the model, and the model updates the view for the response. The topology is triangular:


    M
   /  \
  /    \
C-----V
 
Share this answer
 
Comments
walterhevedeich 31-Jul-11 21:56pm    
Well explained. Deserves more than 5.
Keith Barrow 2-Aug-11 4:29am    
Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900