Jump to content

Talk:Model–view–controller

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Theodore.norvell (talk | contribs) at 07:50, 18 January 2021 (Misleading picture.: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputer science Start‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Things you can help WikiProject Computer science with:

This article is or was the subject of a Wiki Education Foundation-supported course assignment. Further details are available on the course page. Student editor(s): Mohammedhhassan (article contribs).

In the MVC graph, missing connection from controller to view?

Either the graph is missing a connection, or the following description of the controller is wrong:

Accepts input and converts it to commands for the model or view.

Or, more likely, there are different variants of MVC.

Adding a date for the archive bot: 73.71.251.64 (talk) 02:43, 2 January 2021 (UTC)[reply]

Is the DOM a model or a view?

Given that MVC is popular for web frameworks, it would be helpful to clarify whether the browser's DOM is a model or a view. Despite standing for Document Object Model, it violates the following description of the model:

It is the application's dynamic data structure, independent of the user interface.

The DOM is not independent of the user interface. In fact, from a web application's perspective, the DOM is very much the interface between the user and the application.

Adding a date for the archive bot: 73.71.251.64 (talk) 02:43, 2 January 2021 (UTC)[reply]

MVC pattern

Not correct that MVC is a Design Pattern. MVC is an Architecture Pattern. MVC deals with the design of the architecture of the program and not the inside logic and design of the program.

Adding a date for the archive bot: 73.71.251.64 (talk) 02:43, 2 January 2021 (UTC)[reply]

Misleading picture.

The current picture is nice, but it currently suggests that the view "sees" the user. Perhaps the verb should be "displays to".