Selection mapping between fetched files and source files
First Claim
Patent Images
1. A system comprising:
- at least one processor of a computing device comprising a web server;
a memory of the computing device; and
at least one module loaded into the memory causing the at least one processor to;
in response to receiving an HyperText Transfer Protocol (HTTP) request for an HyperText Markup Language (HTML) file,compile at least one source file to generate the HTML file, the HTML file including a plurality of output elements, the source file having at least one of literal content and non-literal content,generate metadata mapping for at least one output element of the plurality of output elements in the HTML file to a particular location in a particular source file responsible for generating the at least one output element, the metadata for the at least one output element of the plurality of output elements comprising a path to the particular source file and a start position in the particular source file at which the code that generates the at least one output element is found, andgenerate an HTTP response including the requested HTML file, the requested HTML file including the metadata, the metadata used by a device initiating the HTTP request to map the at least one output element of the plurality of output elements in the requested HTML file to source code in the particular source file responsible for generating the at least one output element.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
79 Citations
20 Claims
-
1. A system comprising:
-
at least one processor of a computing device comprising a web server; a memory of the computing device; and at least one module loaded into the memory causing the at least one processor to; in response to receiving an HyperText Transfer Protocol (HTTP) request for an HyperText Markup Language (HTML) file, compile at least one source file to generate the HTML file, the HTML file including a plurality of output elements, the source file having at least one of literal content and non-literal content, generate metadata mapping for at least one output element of the plurality of output elements in the HTML file to a particular location in a particular source file responsible for generating the at least one output element, the metadata for the at least one output element of the plurality of output elements comprising a path to the particular source file and a start position in the particular source file at which the code that generates the at least one output element is found, and generate an HTTP response including the requested HTML file, the requested HTML file including the metadata, the metadata used by a device initiating the HTTP request to map the at least one output element of the plurality of output elements in the requested HTML file to source code in the particular source file responsible for generating the at least one output element. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising:
-
receiving from a web server, in response to a HyperText Transfer Protocol (HTTP) request for an HTML file, by a module executing on a processor of a software development computer comprising a client, metadata comprising mapping data for at least one output element in an annotated HyperText Media Language (HTML) file to a corresponding location in a source file generating the at least one output element, the source file having at least one of literal content and non-literal content; generating a mapping table that maps the at least one output element in the annotated HTML to the corresponding location in the source file from which the at least one output element in the annotated HTML was generated; and displaying source code that generated the at least one output element using the mapping table, wherein the source code resides in the source file on the software development computer. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computing device, comprising:
-
at least one processor and a memory;
the memory including at least one module configured to;receive an annotated HyperText Media Language (HTML) file in response to a request for an HTML file, the annotated HTML file comprising metadata for use in mapping an element in the HTML file to a corresponding location in a source file generating the element, wherein the metadata comprises a path to the source file and a start position for the code generating the element in the source file, the source file having at least one of literal content and non-literal content; generate a mapping table that maps the element in the annotated HTML file to the corresponding location in the source file from which the element in the annotated HTML file was generated; and display source code that generated the element using the mapping table, wherein the source file resides in the computing device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification