Model-view-controller (MVC) is an architectural pattern, frequently used in Web applications. Which of the following statement (s) is (was) correct? (multiple selection)
A, Models often represent data and the business logics needed to manipulate the data in the application
B, a view is a (visual) representation of its model. It renders the model into a form suitable for interaction, typically a user interface element
C, a controller is the link between a user and the system. It accepts input from the user and instructs the model and a view to perform actions based on that input
D, the common practice of MVC in Web applications are, the model receives GET or POST input from user and decides what to do With it, handing-to-controller and which hand control-to-Views (html-generating components)
E, None of the above
Answer: ABC
Analysis:
D, the common practice of MVC in Web applications are, the model receives GET or POST input from user and decides W Hat to does with it, handing-to- controller and which hand control-to-Views (html-generating components)
The controller should accept the request from the user and pass it to the model
Model-view-controller (MVC) is an architectural pattern, frequently used in Web applications. Which of the following statement (s) is correct?