DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Ghanshyam has posted 1 posts at DZone. View Full User Profile

Comparison with 3tier architecture and MVC(model-view-controller) architecture

06.30.2012
| 9490 views |
  • submit to reddit


    
Both are smiler but topologically they are different.

-A Basic rule in a three tier architecture is the client tier never communicates directly with the data tier;
-in a three-tier model all communication must pass through the middle tier. Conceptually the three-tier architecture is linear

But


-MVC architecture is triangular

cycle in MVC(model-view-controller)

-view sends updates to the controller,

-the controller updates the model, and

-the view gets updated directly from the model.