On Mar 16, 2009, at 1:21 PM, Meryl Silverburgh wrote:

Does Webkit follow MVC design pattern?

Roughly. But it’s not really practical to follow the MVC pattern for a web engine.

For example the DOM standards and de facto standards from other browsers put quite a bit of view/controller machinery into the DOM, even though it should theoretically be model-only.

If DOM is the Model, and Render Tree is the View, what is the 'controller' in MVC?

Again roughly speaking, it’s objects like Frame, whereas FrameView and the render tree are part of the view and Document and the DOM tree part of the model.

    -- Darin

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to