Difference Between 3-Tier Architecture and MVC Architecture in .NET

By
There are lots of students who are facing problems with 3-tier architecture and MVC architecture.Many student confuse in 3-tier architecture and MVC architecture. I have already explained 3-tier architecture and mvc architecture concepts with real life examples.Both are using same concepts but there are some differences their working senorio.
3-Tier Architecture Concepts:-

1.)  3-Tier Architecture separates the application into 3 components as given below:-
  • Presentation Layer (UI)
  • Business Access Layer
  • Data Access Layer
2.)  3-Tier Architecture is a Linear Architecture.
image
3.)  In 3-tier Architecture, user interacts with Presentation Layer.It is a User Interface layer which can interact to any user in application.
4.)  In 3-tier Architecture, Business Access Layer is Responsible for all communication between Presentation layer and Data Access Layer.Here Business Access Layer is a mediator between Presentation layer and Data Access Layer.
5.)  In 3-tier Architecture,All Data will be stored on Data Access Layer Only. 
6.)  In 3-tier Architecture, Bidirectional communication is possible (with Business layer) within layers (presentation and Data access).

MVC Architecture Concepts:-

1.)  MVC Architecture separates the application into three components as given below:-
  • Model
  • View
  • Controller
2.)  MVC Architecture is a triangular Architecture.
architecture


3.) In MVC Architecture , user interacts with View component.
4.) MVC Architecture uses 3-Tier Architecture concepts .
5.) In MVC Architecture, Controller component is responsible for communication between view and model.Ex.If user (View) want to update your database values then it(request) first pass to the Controller component,after that controller pass the request to model component if required.
6.) 3-Tier Architecture and MVC Architecture used together.MVC doesn't replace 3-tier architecture.  
For more...

  1. Namespace in WPF Application with example
  2. How to implement login controls in asp.net application with example
  3. PLINQ Concepts in .NET
  4. WPF Architecture Concepts
  5. How to make calculator in visual studio 2010 and install it on your system
  6. Real concepts of Layout control in WPF

0 comments:

Post a comment

Powered by Blogger.