Asynchronous loading of scripts in web pages
US-9805006-B1 · Oct 31, 2017 · US
US10509690B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10509690-B2 |
| Application number | US-201815954306-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 16, 2018 |
| Priority date | Dec 17, 2010 |
| Publication date | Dec 17, 2019 |
| Grant date | Dec 17, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The exposing of a server function to a browser. From the browser's perspective, the browser submits a request for a web page to a web server, the web page being one of multiple web pages in a web application offered by the web server. The web server responds to the request by, for at least one of the server functions, formulating a corresponding script language function that defines a matching name and parameter set of the server side function. The script language function has a body that, when executed, serializes at least the name and parameter set of the server side function. The web server then provides the web page code and the corresponding script language function to the browser. The browser may then calls the server side function via the script language function.
Opening claim text (preview).
What is claimed is: 1. A computer program product comprising one or more computer storage media having thereon computer-executable instructions that are structured such that, when executed by one or more processors of a web server, cause the web server to perform a method for the web server to expose a function to a browser, the method comprising: receiving a request for a web page that is one of a plurality of web pages in a web application; in response to the request for the web page, for at least one server side function of the web application, determining a name, order, and type for each parameter the server side function expects, generating a corresponding script language function that defines a matching name and parameter set of the server side function, the script language function having a body that, when executed, serializes at least the name and parameter set of the server side function and communicates to the server a function call corresponding to the server side function, the script language function being callable from multiple web pages of the web application such that the server side function can be called from each of multiple different contexts within the web application; and responding to the web page request with the requested web page and the corresponding script language function. 2. The computer program product in accordance with claim 1 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following for the at least one server side function: receiving a request to call the server side function, the request to call being generated as a result of a browser executing the body of the corresponding script language function, the request to call including the name and parameter set of the server side function; using the request to formulate a parameter list; and executing the server side function using the parameter list. 3. The computer program product in accordance with claim 2 , wherein the request to call is honored across multiple web pages of the plurality of web pages in the web application. 4. The computer program product in accordance with claim 2 , wherein the request to call is honored across all of the plurality of web pages in the web application. 5. The computer program product in accordance with claim 2 , wherein the body of the corresponding script language function also serializes a protection token of the server side function, wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following: validating the protection token. 6. The computer program product in accordance with claim 2 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following: returning results of the execution of the parameter list. 7. The method in accordance with claim 1 , wherein the script language function is a first script language function, and the server side function is a first server side function, wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following in response to the request for the web page: formulating a corresponding second script language function that defines a matching name and parameter set of a second server side function, the second script language function having a body that, when executed, serializes at least the name and parameter set of the second server side function; and responding to the web page request also with the second script language function. 8. The computer program product in accordance with claim 7 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following in response to receiving a request to call the second server side function, the request to call the second server side function being generated as a result of the browser executing the body of the second script language function, the request to call the second server side function including the name and parameter set of the second server side function: using the request to call the second server side function to formulate a parameter list for the second server side function; and executing the second server side function using the parameter list for the second server side function. 9. The computer program product in accordance with claim 1 , wherein the body includes a function call to a library function that, when executed, serializes at least the name and parameter set of the server side function. 10. The computer program product in accordance with claim 1 , wherein the body of the corresponding script language function also serializes at protection token of the server side function. 11. A method for a browser to execute a server function, the method comprising: submitting a request for a web page that is one of a plurality of web pages in a web application; and receiving a response to the request, the response including the requested web page and a script language function for execution in the browser, the script language function received from the server defining a matching name and full parameter set of the server side function such that each parameter of the script language function maps to a corresponding parameter of the server side function, the script language function having a body that, when executed, serializes at least the name and parameter set of the server side function and communicates to the server a function call corresponding to the server side function, and the script language function being callable from the plurality of web pages of the web application such that the server side function can be called from each of multiple different contexts within the web application. 12. The method in accordance with claim 11 , further comprising: executing the script language function. 13. The method in accordance with claim 12 , further comprising: providing a parameter set to the executing script language function, thereby causing the name and parameter set of the server side function to be serialized in the form of a request to call the server side function. 14. The method in accordance with claim 13 , further comprising: receiving results of the execution of the server side function that was executed in response to the request to call the server side function. 15. The method in accordance with claim 11 , wherein the request to call is honored within part of the web application. 16. The method in accordance with claim 11 , wherein the request to call is honored within all of the web application. 17. The method in accordance with claim 11 , wherein the body of the corresponding script language function also serializes a protection token of the server side function. 18. The method in accordance with claim 11 , wherein the body includes a function call to a library function that, when executed, serializes at least the name and parameter set of the server side function. 19. The method in accordance with claim 11 , wherein the body of the corresponding script language function also serializes at protection token of the server side function.
Interprogram communication · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.