Model-view-controller (MVC) is an architectural pattern, frequently used in Web applications. Which of the following statement (s) is correct?

Source: Internet
Author: User

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?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.