×

System and method for auto-generating JavaScript

  • US 8,510,378 B2
  • Filed: 09/11/2012
  • Issued: 08/13/2013
  • Est. Priority Date: 11/21/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for automatically generating meta-proxies in a hypertext mark up language (HTML) document, the method comprising:

  • receiving the HTML document at a server-core on a server-side of a network;

    parsing and executing the HTML document at the server-core to create and populate a document object model (DOM) of the HTML document, wherein the DOM includes code comprising at least one client-callable function configured to be executed on the server-side of the network;

    modifying the DOM at a server-framework on the server-side by generating a meta-proxy for each of the client-callable functions of the code plurality of meta-proxy that automatically replaces the respective client-callable function of the HTML document, the modification of the DOM creating a modified DOM;

    serializing the modified DOM as a modified HTML document at the server-core;

    streaming the modified HTML document to a browser on a client-side of a network;

    receiving on the server-side an extended markup language (XML) HTTP request comprising the meta-proxy;

    restoring the respective client callable function corresponding to the meta-proxy;

    obtaining a result for the respective client-callable function; and

    transmitting the result to the client-side.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×