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:-
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.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.
3.) In 3-tier Architecture, user interacts with Presentation Layer.It is a User Interface layer which can interact to any user in application.
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.
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...
0 comments:
Post a Comment