WEB APPLICATION SCRIPT MIGRATION
First Claim
Patent Images
1. A method comprising:
- determining if a portion of a script of web application code within a web application is migratable to a remote infrastructure, wherein the portion of the script contains one or more functions; and
modifying the portion of the script if the portion of the script is migratable, such that execution of the portion of the script results in the one or more functions being executed on the remote infrastructure, wherein the remote infrastructure is not a device on which the web application was designed or distributed.
1 Assignment
0 Petitions
Accused Products
Abstract
In a first embodiment of the present invention, a method is provided comprising: determining if a portion of a script of web application code within a web application is migratable to a remote infrastructure, wherein the portion of the script contains one or more functions; and modifying the portion of the script if the portion of the script is migratable, such that execution of the portion of the script results in the one or more functions being executed on the remote infrastructure, wherein the remote infrastructure is not restricted to the device on which the web application was designed or distributed.
73 Citations
25 Claims
-
1. A method comprising:
-
determining if a portion of a script of web application code within a web application is migratable to a remote infrastructure, wherein the portion of the script contains one or more functions; and modifying the portion of the script if the portion of the script is migratable, such that execution of the portion of the script results in the one or more functions being executed on the remote infrastructure, wherein the remote infrastructure is not a device on which the web application was designed or distributed. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for launching a web application on a client device, wherein the web application includes web application code script, the method comprising:
-
retrieving one or more functions from the web application code script that have been identified as migratable; for each of the one or more functions; sending a copy of the function to a remote infrastructure; receiving a web address from the remote infrastructure, wherein the web address is such that, upon invocation, the remote infrastructure runs the copy of the function; and creating a stub function containing the web address, such that when the stub function is executed by the client device, the web address is invoked. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method for executing a web application on a client device, wherein the web application includes web application code script, the method comprising:
-
retrieving one or more functions from the web application code script that have been identified as migratable; for each of the one or more functions; sending a copy of the function to a remote infrastructure for execution; and receiving results of the execution from the remote infrastructure.
-
-
15. A method for executing a web application function on a client device, the method comprising:
-
receiving a call of a stub function from a software program, wherein the stub function has an identical signature to the web application function, wherein the stub function contains a web address of a remote function on a remote infrastructure; invoking the web address in order to cause the remote infrastructure to run the remote function; receiving values computed during the remote infrastructures running of the remote function; and passing the values to the software program as if the client device had run the web application function. - View Dependent Claims (16)
-
-
17. A method for loading a web application function in a remote infrastructure, the method comprising:
-
receiving a copy of a web application function from a remote connection manager of a client device; loading the copy of the web application function for running; creating a web address corresponding to the copy of the web application function, wherein the web address is such that, upon invocation at the client device, the copy of the web application function is run by the web application environment; and sending the web address to the client device. - View Dependent Claims (18, 19)
-
-
20. An extended browser comprising:
-
a source code analyzer configured to examine web application script to determine if functions within the web application script are migratable; a source code manager configured to, for any functions that are migratable, create a stub function containing a remote function call; and a remote connection manager configured to pass a copy of any functions that are migratable to a remote infrastructure, receive a web address for each of the remote functions from the remote infrastructure, and pass the web addresses to the source code manager; and wherein the source code manager is further configured to insert the web addresses into corresponding stub functions such that, upon execution of a stub function, a corresponding web address is invoked such that the remote infrastructure runs a corresponding remote function and returns the results. - View Dependent Claims (21)
-
-
22. An apparatus comprising:
a web application environment configured to; receive a copy of a web application function from a remote connection manager of a client device; load the copy of the web application function for running; create a web address corresponding to the copy of the web application function, wherein the web address is such that, upon invocation at the client device, the copy of the web application function is run by the web application environment; and send the web address to the client device. - View Dependent Claims (23)
-
24. An apparatus comprising:
-
means for determining if a portion of a script of web application code within a web application is migratable to a remote infrastructure, wherein the portion of the script contains one or more functions; and means for modifying the portion of the script if the portion of the script is migratable, such that execution of the portion of the script results in the one or more functions being executed on the remote infrastructure, wherein the remote infrastructure is not a device on which the web application was designed or distributed.
-
-
25. A program storage device readable by a machine tangibly embodying a program of instructions executable by the machine to perform a method comprising:
-
determining if a portion of a script of web application code within a web application is migratable to a remote infrastructure, wherein the portion of the script contains one or more functions; and modifying the portion of the script if the portion of the script is migratable, such that execution of the portion of the script results in the one or more functions being executed on the remote infrastructure, wherein the remote infrastructure is not a device on which the web application was designed or distributed.
-
Specification