摘要:
A selection in a browser in an integrated development environment can be mapped back to the original document that was fetched from a web server by uniquely identifying elements in the original document. A DOM can be created from the original document where the DOM retains the unique identifiers associated with the elements. Block lists for the original document and the DOM can be created. A differencing algorithm can be run on the two block lists. A selection in a browser can be mapped to a location in the DOM block list and the location in the DOM block list can be mapped to the original document.
摘要:
A selection in a browser can be mapped back to a corresponding location range in one or more source files that generated the selection. A selection in a source file can be mapped to the corresponding location range in the browser's DOM. The selection in the browser can be mapped to a location range in a block list generated from the DOM. The location range in the DOM's block list can be mapped to a corresponding location range in a block list generated from the fetched file received from a web server. The location range in the fetched file's block list can be mapped to a particular location in the particular source file responsible for generating the selection in the browser. The selection in the browser and the source file can be displayed concurrently, the source file scrolled to the location range corresponding to the selection in the browser.
摘要:
An element in a fetched file (a file received from the web server in response to an HTTP request) can be mapped to the source code that generated it and vice versa. When code is compiled at the web server, calls can be executed that emit HTML that includes metadata that maps a snippet of code back to a particular source file and to a particular location in the source file. The HTML can include injected symbols that specify that the information from a particular start position for a particular character length in the HTML comes from a particular start position to a particular end position in the source file.
摘要:
A selection in a browser can be mapped back to a corresponding location range in one or more source files that generated the selection. A selection in a source file can be mapped to the corresponding location range in the browser's DOM. The selection in the browser can be mapped to a location range in a block list generated from the DOM. The location range in the DOM's block list can be mapped to a corresponding location range in a block list generated from the fetched file received from a web server. The location range in the fetched file's block list can be mapped to a particular location in the particular source file responsible for generating the selection in the browser. The selection in the browser and the source file can be displayed concurrently, the source file scrolled to the location range corresponding to the selection in the browser.
摘要:
An element in a fetched file (a file received from the web server in response to an HTTP request) can be mapped to the source code that generated it and vice versa. When code is compiled at the web server, calls can be executed that emit HTML that includes metadata that maps a snippet of code back to a particular source file and to a particular location in the source file. The HTML can include injected symbols that specify that the information from a particular start position for a particular character length in the HTML comes from a particular start position to a particular end position in the source file.
摘要:
A selection in a browser in an integrated development environment can be mapped back to the original document that was fetched from a web server by uniquely identifying elements in the original document. A DOM can be created from the original document where the DOM retains the unique identifiers associated with the elements. Block lists for the original document and the DOM can be created. A differencing algorithm can be run on the two block lists. A selection in a browser can be mapped to a location in the DOM block list and the location in the DOM block list can be mapped to the original document.
摘要:
In a workflow system data is exchanged using databinding constructs between the workflow and user interface layer. During an execution of a workflow a user interface instance is activated in anticipation of a user input event. The workflow is suspended and data for populating the user interface instance is provided to the user interface layer using a databinding construct from the workflow. Upon receiving user input, another instance of the workflow is loaded and data associated with the user input provided from the user interface to the workflow employing a databinding construct such that the other instance of the workflow is executed with the data associated with the user input.
摘要:
A workflow container defines boundaries within which a user interface appears on a page. The workflow container may change what is displayed on the user interface based on a current state of the workflow. Each workflow container maintains an independent association with a workflow that drives the user interface. The workflow is associated with the workflow container at a control level such that multiple workflows may be independently executed on the same page concurrently or separately.
摘要:
Various technologies and techniques are disclosed that allow for repurposing content of a source web site for an external web site. The developer uses a programming feature to create a web page with a portion of content suitable for use in the form of a gadget control on an external web site. The developer sets up the portion of the web page for repurposing as the gadget control. When a request is received from the source web site to access the web page, the web page is displayed along with the displayable portion of content in the normal fashion. When a request is received from the external web site to access the portion of content in the form of the gadget control, the portion of content is provided to the external web site for use in the gadget control.
摘要:
Various technologies and techniques are disclosed that allow for repurposing content of a source web site for an external web site. The developer uses a programming feature to create a web page with a portion of content suitable for use in the form of a gadget control on an external web site. The developer sets up the portion of the web page for repurposing as the gadget control. When a request is received from the source web site to access the web page, the web page is displayed along with the displayable portion of content in the normal fashion. When a request is received from the external web site to access the portion of content in the form of the gadget control, the portion of content is provided to the external web site for use in the gadget control.