Offloading execution of a portion of a client-side web application to a server
AssigneeSencha, Inc.
InventorJohn Merrells
Life of this patent
Estimating the term…
Abstract
Offloading execution of a portion of a client-side Web application to a server. In one embodiment, for example, a computer-implemented includes identifying a function to-be-offloaded in a client-side scripting language file; generating an offloaded function based on the function to-be-offloaded; replacing, in the scripting language file, the body of the function to-be-offloaded with client RPC stub which, when executed by an end-user computing device as a result of a call to the function to-be-offloaded, causes one or more arguments passed into the function to-be-offloaded to be marshalled and sent to a server in one or more network messages.
Claims24
A method for offloading execution of a portion of a client-side Web application to a server, the method comprising:
- receiving a client-side scripting language file;
- identifying a function to-be-offloaded in the client-side scripting language file;
- wherein the function to-be-offloaded has a function body and a list of one or more parameters;
- generating an offloaded function based on the function to-be-offloaded;
- replacing, in the scripting language file, the function body of the function to-be-offloaded with a set of client-side scripting language instructions which, when executed by an end-user computing device as a result of a call to the function to-be-offloaded, cause one or more arguments, corresponding to the one or more parameters passed into the function to-be-offloaded by the call to the function, to be marshalled and sent to a server in one or more first network messages.
One or more non-transitory computer-readable media storing instructions which, when executed by one or more computing devices, cause performance of a method for offloading execution of a portion of a client-side Web application to a server, the method comprising:
- receiving a client-side scripting language file;
- identifying a function to-be-offloaded in the client-side scripting language file;
- wherein the function to-be-offloaded has a function body and a list of one or more parameters;
- generating an offloaded function based on the function to-be-offloaded;
- replacing, in the scripting language file, the function body of the function to-be-offloaded with a set of client-side scripting language instructions which, when executed by an end-user computing device as a result of a call to the function to-be-offloaded, cause one or more arguments, corresponding to the one or more parameters passed into the function to-be-offloaded by the call to the function, to be marshalled and sent to a server in one or more first network messages.
A system comprising:
- one or more processors;
- one or more non-transitory computer readable media storing instructions which, when executed by the one or more processors, causes performance of a method for offloading execution of a portion of a client-side Web application to a server, the method comprising:
- receiving a client-side scripting language file;
- identifying a function to-be-offloaded in the client-side scripting language file;
- wherein the function to-be-offloaded has a function body and a list of one or more parameters;
- generating an offloaded function based on the function to-be-offloaded;
- replacing, in the scripting language file, the function body of the function to-be-offloaded with a set of client-side scripting language instructions which, when executed by an end-user computing device as a result of a call to the function to-be-offloaded, cause one or more arguments, corresponding to the one or more parameters passed into the function to-be-offloaded by the call to the function, to be marshalled and sent to a server in one or more first network messages.
Dependencies are inferred from the claim text.