MVC Flashcards
what is Model-View-Controller?
MVC is a software architecture pattern for developing web application. It is handled by three objects Model-View-Controller.
Describe function of M, V and C
Model- It represents the application data domain. In other words applications business logic is contained within the model and is responsible for maintaining data
View- It represents the user interface, with which the
end users communicates. In short all the user interface logic is contained within the VIEW
Controller- It is the controller that answers to user actions. Based on the user actions, the respective controller responds within the model and choose a view to render that display the user interface. The user input logic is contained with-in the controller
what is the advantages of MVC?
- MVC segregates your project into a different segment, and it becomes easy for developers to work on
- It is easy to edit or change some part of your project that makes project less development and maintenance cost
- MVC makes your project more systematic
disadvantages of MVC model?
- The model pattern is complex
- Inefficiency of data access in view
- With modern user interface, it is difficult to use MVC
- You need multiple programmers for parallel development
- Multiple technologies knowledge is required