×

System and method for tagging code to determine where the code runs

  • US 8,914,774 B1
  • Filed: 11/14/2008
  • Issued: 12/16/2014
  • Est. Priority Date: 11/15/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for tagging to code to determine a run location, the method comprising:

  • writing a code for a Web application;

    grouping the code according to an area of functionality;

    identifying a plurality of sections of the code having one or more functions required to be run on either or both of a client and a server; and

    tagging each of the plurality of sections of the code with a runat attribute that denotes whether a respective section of code will run on either or both of the client and the server when the code is executed, wherein the tagging comprises add the runat attribute to each of the identified plurality of sections of the code, and wherein a runat attribute specifying functions running on the client only will not run on the server, a runat attribute specifying functions running on the server only are not directly callable by the client but can be called by the client during callback processing by other server functions, and a runat attribute specifying functions running on both the client and server will run on both the client and server;

    automatically stripping functions from data sent to the client if the runat attribute specifies the functions run on the server only;

    wherein a plurality of script blocks are contained in a single file, and the runat attribute for each script block may be modified by a special function object property that overrides a runat attribute section for a function to prevent the need to separate script blocks into separate files to facilitate different runat targets within the single file.

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