MVC 2
architecture
MVC 1 architecture we see that MVC 1 provide the full facility
to separate the Model, View,Controller.
The advantage of MVC 1 architecture
is that its provide the separate presentation (VIEW), Configure (Controller),
Business logic (Model).
But the main disadvantage of MVC 1 architecture is that the
Model part has combine the Database Access, Core Business logic ,and Web services .so there is lots of problem to
maintain the DBA and business logic
For Solving the above MVC 1 problem of Model is Overcome in MVC
2 Architecture which provide the Model part to divide in different to Database Access
(DBA), Core Business logic, and Web services.
Let we See the MVC 2 architecture Figure.
- Request send by the user from browser (View layer) is going to controller part from view
- The particular request come from the view part is handle by the controller part and the Controller decide which action (business logic file) is called for the particular request from the view.
- Most Important part in the MVC architecture the model part in which the controller call the particular action file which is provided by the Model part
The most important thing in MVC 2 architecture is that the
Model part are not combine its all are separate and connect to
each other the all database access (DBA), Business logic, web services are in
one file of model part.
So this is the advantage of MVC 2 architecture is that its
provide the separate presentation (VIEW), Configure (Controller), Business
logic (Model).
MVC 2 architecture is that the Model part has separate the Database Access, Core Business logic
,and Web services.so there is need to
connect the separate the each other the in model part.
And make the application ease to maintain
0 comments:
Post a Comment