MVC Flashcards

1
Q

what is Model-View-Controller?

A

MVC is a software architecture pattern for developing web application. It is handled by three objects Model-View-Controller.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe function of M, V and C

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the advantages of MVC?

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

disadvantages of MVC model?

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly