Adding directives for versions of source files directly into source code
First Claim
1. A method, comprising:
- creating a version of a source file that comprises;
source code from the source file and at least a portion of a client-side scripting language file for generating at least a portion of markup language for a web page to be served to a client device using a webserver;
associating, at a processor, metadata with a preprocessed directive and a version of the source file, wherein the metadata comprises;
at least the portion of the client-side scripting language file;
retrieving, via the webserver from a database, only the metadata associated with the preprocessed directive in the version of the source file such that the entire source file does not need to be retrieved; and
in response to receiving a request for the metadata associated with the version of the source file, generating, in accordance with the metadata associated with the preprocessed directive and the version of the source file, at least the portion of the markup language for the web page to be served to the client device.
1 Assignment
0 Petitions
Accused Products
Abstract
A version of the source file is created that includes source code from a source file, and at least a portion of a client-side scripting language file (CSSLF) for generating at least a portion of markup language for a web page to be served to a client device using a webserver. A processor associates metadata with a preprocessed directive (PPD) and a version of the source file (VSF). The metadata can include at least the portion of the CSSLF. The webserver can then retrieve, from a database, only the metadata associated with the PPD in the VSF such that the entire source file does not need to be retrieved. When a request for the metadata associated with the VSF is received, at least the portion of the markup language for the web page can be generated in accordance with the metadata associated with the PPD and the VSF.
183 Citations
20 Claims
-
1. A method, comprising:
-
creating a version of a source file that comprises;
source code from the source file and at least a portion of a client-side scripting language file for generating at least a portion of markup language for a web page to be served to a client device using a webserver;associating, at a processor, metadata with a preprocessed directive and a version of the source file, wherein the metadata comprises;
at least the portion of the client-side scripting language file;retrieving, via the webserver from a database, only the metadata associated with the preprocessed directive in the version of the source file such that the entire source file does not need to be retrieved; and in response to receiving a request for the metadata associated with the version of the source file, generating, in accordance with the metadata associated with the preprocessed directive and the version of the source file, at least the portion of the markup language for the web page to be served to the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having one or more instructions thereon for adding directives for versions of JavaScript files directly into source code, the instructions when executed by one or more processors causing the one or more processors to carry out:
-
creating, at one of the processors, a version of a source file that comprises;
source code from the source file and at least a portion of a client-side scripting language file for generating at least a portion of markup language for a web page to be served to a client device using a webserver;associating, at one of the processors, metadata with a preprocessed directive and a version of the source file, wherein the metadata comprises;
at least a portion of the client-side scripting language file;retrieving, via one of the processors that is implemented at the webserver from a database, only the metadata associated with the preprocessed directive in the version of the source file such that the entire source file does not need to be retrieved; and in response to receiving a request for the metadata associated with the version of the source file, generating, at one of the processors in accordance with the metadata associated with the preprocessed directive and the version of the source file, at least the portion of the markup language for the web page to be served to the client device. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A system for adding directives for versions of JavaScript files directly into source code, the system comprising:
-
a first processor; a web server; a database; and one or more stored sequences of instructions which, when executed by the first processor, cause the first processor to carry out; create a version of a source file that comprises;
source code from the source file and at least a portion of a client-side scripting language file for generating at least a portion of markup language for a web page to be served to a client device using the web server;associate metadata with a preprocessed directive and a version of the source file, wherein the metadata comprises;
at least the portion of the client-side scripting language file;wherein the web server is configured to; retrieve, from the database, only the metadata associated with the preprocessed directive in the version of the source file such that the entire source file does not need to be retrieved; and in response to receiving a request for the metadata associated with the version of the source file, generate, in accordance with the metadata associated with the preprocessed directive and the version of the source file, at least the portion of the markup language for the web page to be served to the client device.
-
Specification