摘要 |
A method for implementing web applications includes projecting, using a processor of a computing device, one element of a web page of a web application into a view of the web page, the view being a visual representation of a model of the web page, the model including application data and rules. A controller mediates input and converts input to commands for the view or the model. The controller transposes the one element projected in the view of the web page and another element using an insertion point that represents a defined location in a shadow document object model subtree, without affecting a document object model tree of the web page. |
主权项 |
1. A non-transitory computer readable medium containing executable code that causes a computing device to:
project, using a processor of the computing device, one element of a web page into a view of the web page; and transpose, using the processor, the one element projected in the view of the web page and another element using an insertion point that represents a defined location in a shadow document object model subtree, without notifying a browser-level background page, wherein the browser-level background page is a script file that lacks a user interface of its own and acts as a container for all views of a web application, including the view of the web page, and wherein every window created by the web application shows a different view of the browser-level background page. |