Disclosed is a novel framework by which the sources of data objects and/or formatting functions can be easily requested and managed. More specifically, the invention provides a system for and method of serving multiple data objects and/or formatting functions to a subscribing client via a single request. The system comprises a catalog with entries referencing components used to generate data objects and formatting functions, each of which has a unique identifier; and an engine for receiving requests from the subscribing client, wherein each request includes one or more catalog identifiers. This engine, for each identifier in each received request, executes any prerequisite components, sets the appropriate parameters, and executes the component referenced by said component identifier to obtain the requested data object or formatting function. Having executed each said component, said engine protects the namespaces of the returned functions and variables and aggregates said data objects and/or formatting functions into a script library, and returns said script library to said subscribing client.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a framework that may be used to practice the present invention.
FIG. 2 is a flow chart showing how the present invention may be employed to handle a request from a subscribing client.
Claims
1. A system for serving web content to a subscribing client, comprising:
a catalog with entries referencing components used to generate data objects and formatting functions, each of said components having a component identifier; andan engine for receiving requests for web content, wherein each request includes at least one component identifier; andin response to receiving each request, said engine,
i) for each of the component identifiers in said received each request, executes the component referenced by said component identifier to obtain web content,ii) aggregates the obtained web content into a script library, andiii) returns said script library to said subscribing client.
2. A system according to claim 1, wherein said subscribing client receives said script library as a single transport stream and in response to a single request made to said engine.
3. A system according to claim 1, wherein one of said received requests is for web content that enables said subscribing client to add work embedded learning to a Web page.
4. A system according to claim 1, wherein the catalog includes entries referencing prerequisite components for generating supporting scripting code for data objects and formatting functions.
5. A system according to claim 1, further comprising a catalog cache, and wherein said engine uses said catalog cache to locate and call said components.
6. A system according to claim 1, wherein said components include:
formatting function components used to generate formatting functions;data object components used to generate data objects; andprerequisite components used to generate supporting script code for the data objects and the formatting functions.
7. A system according to claim 6, wherein said catalog is a repository used to store and to manage the id, description, location, parameter names and parameter default values associated with the data object components, the formatting function components, and the prerequisite components.
8. A method of serving web content to a subscribing client, comprising the steps of:
storing in a catalog entries referencing components used to generate data objects and formatting functions, each of said components having a component identifier;receiving requests for web content, wherein each request includes at least one component identifier; andin response to receiving each request, (i) for each of the component identifiers in said received each request, executing the component referenced by said component identifier to obtain web content, (ii) aggregating the obtained web content into a script library, and (iii) returning said script library to said subscribing client.
9. A method according to claim 8, wherein said subscribing client receives said script library as a single transport stream and in response to a single request for said web content.
10. A method according to claim 8, wherein one of said received requests is for web content that enables said subscribing client to add work embedded learning to a Web page.
11. A method according to claim 8, wherein some of said entries reference prerequisite components for generating supporting scripting code for data objects and formatting functions.
12. A method according to claim 8, further comprising the step of using a catalog cache to locate and call said components.
13. A method according to claim 8, wherein said components include:
formatting function components used to generate formatting functions;data object components used to generate data objects; andprerequisite components used to generate supporting script code for the data objects and the formatting functions.
14. A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform method steps for serving web content to a subscribing client, said method steps comprising:
storing in a catalog entries referencing components used to generate data objects and formatting functions, each of said components having a component identifier;receiving requests for web content, wherein each request includes at least one component identifier; andin response to receiving each request, (i) for each of the component identifiers in said received each request, executing the component referenced by said component identifier to obtain web content, (ii) aggregating the obtained web content into a script library, and (iii) returning said script library to said subscribing client.
15. A program storage device according to claim 14, wherein said subscribing client receives said script library as a single transport stream and in response to a single request for said web content.
16. A program storage device according to claim 14, wherein one of said received requests is for web content that enables said subscribing client to add work embedded learning to a Web page.
17. A program storage device according to claim 14, wherein some of said entries reference prerequisite components for generating supporting scripting code for data objects and formatting functions.
18. A program storage device according to claim 14, wherein said method steps comprise the further step of using a catalog cache to locate and call said components.
19. A program storage device according to claim 14, wherein said components include:
formatting function components used to generate formatting functions;data object components used to generate data objects; andprerequisite components used to generate supporting script code for the data objects and the formatting functions.
20. A method of deploying a computer program product for serving web content to a subscribing client, wherein, when executed, the computer program performs the steps of:
storing in a catalog entries referencing components used to generate data objects and formatting functions, each of said components having a component identifier;receiving requests for web content, wherein each request includes at least one component identifier; andin response to receiving each request, (i) for each of the component identifiers in said received each request, executing the component referenced by said component identifier to obtain web content, (ii) aggregating the obtained web content into a script library, and (iii) returning said script library to said subscribing client.
21. A method according to claim 20, wherein said subscribing client receives said script library as a single transport stream and in response to a single request for said web content.
22. A method according to claim 20, wherein:
some of said entries reference prerequisite components for generating supporting scripting code for data objects and formatting functions;said computer program performs the further step of using a catalog cache to locate and call said components; andsaid components include formatting function components used to generate formatting functions, data object components used to generate data objects, and prerequisite components used to generate supporting script code for the data objects and the formatting functions.
23. A method of embedding work embedded learning data to a Web page, comprising the steps of:
storing in a catalog entries referencing components used to generate data objects and formatting functions, each of said components having a component identifier;sending a request to an engine for web content to provide work embedded learning data for said web page, said request including at least one component identifier for referencing a component; andin response to receiving said request, said engine (i) for each of the component identifiers in said received request, executing the component referenced by said component identifier to obtain web content, (ii) aggregating the obtained web content into a script library, and (iii) returning said script library to said subscribing client.
24. A method according to claim 23, wherein said subscribing client receives said script library as a single transport stream and in response to a single request for said web content.
25. A method according to claim 23, wherein the catalog includes entries referencing prerequisite components for generating supporting scripting code for data objects and formatting functions.
26. A method according to claim 23, further comprising the step of using a catalog cache to locate and call said components.
27. A method according to claim 23, wherein said components include:
formatting function components used to generate formatting functions;data object components used to generate data objects; andprerequisite components used to generate supporting script code for the data objects and the formatting functions.