Cross-domain linking of data types
First Claim
1. A computer-implemented method comprising:
- receiving, at a first server corresponding to a first domain, a request from a client computer for a library file that includes instructions that implement a implementation method that is associated with a first unique identifier; and
sending the library file to the client computer, the client computer having received an application file from a second server corresponding to a second domain, wherein the application file includes instructions that implement a stub method to direct calls to the implementation method, wherein the stub method is associated with a second unique identifier, and wherein executing the library file and the application file causes the client computer to perform operations comprising;
associating the implementation method with the first domain and the stub method with the second domain so that the implementation method is restricted to receiving an argument from the stub method as data without an associated data type;
establishing a link between the implementation method and the stub method using the first unique identifier and the second unique identifier;
receiving a call to the stub method made by code executed in association with the second domain, the call having an argument associated with a data type;
in response to receiving the call to the stub method, forwarding the call with the argument to the implementation method using the established link and passing the argument by reference, wherein the argument is received by the implementation method without the associated data type; and
processing the forwarded call with the argument that was passed by reference using the implementation method.
7 Assignments
0 Petitions
Accused Products
Abstract
In one implementation, a computer-implemented method can include receiving, at a first server corresponding to a first domain, a request from a client computer for a vector graphics file that includes instructions that implement a first method. The method can further include sending the vector graphics file to the client computer, the client computer having received a library file from a second server corresponding to a second domain, wherein the library file includes instructions that implement a second method to direct calls to the first method, and wherein executing the vector graphics file and the library file causes the client computer to perform operations. The operations performed by the client computer can include establishing a link between the first method and the second method and directing a call made to the second method with an argument associated with a data type, to the first method using the established link.
-
Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, at a first server corresponding to a first domain, a request from a client computer for a library file that includes instructions that implement a implementation method that is associated with a first unique identifier; and sending the library file to the client computer, the client computer having received an application file from a second server corresponding to a second domain, wherein the application file includes instructions that implement a stub method to direct calls to the implementation method, wherein the stub method is associated with a second unique identifier, and wherein executing the library file and the application file causes the client computer to perform operations comprising; associating the implementation method with the first domain and the stub method with the second domain so that the implementation method is restricted to receiving an argument from the stub method as data without an associated data type; establishing a link between the implementation method and the stub method using the first unique identifier and the second unique identifier; receiving a call to the stub method made by code executed in association with the second domain, the call having an argument associated with a data type; in response to receiving the call to the stub method, forwarding the call with the argument to the implementation method using the established link and passing the argument by reference, wherein the argument is received by the implementation method without the associated data type; and processing the forwarded call with the argument that was passed by reference using the implementation method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer-implemented method comprising:
-
receiving at a first server corresponding to a first domain a request from a client computer for a library file that includes instructions that implement a implementation method that is associated with a first unique identifier; and sending the library file to the client computer, the client computer having received an application file from a second server corresponding to a second domain, wherein the application file includes instructions that implement a stub method to direct calls to the implementation method, wherein the application file further includes an inherited method that inherits the implementation method and that includes instructions that modify at least a portion of the implementation method, wherein the stub method is associated with a second unique identifier, and wherein executing the library file and the application file causes the client computer to perform operations comprising; associating the implementation method with the first domain and the stub method with the second domain so that the implementation method is restricted to receiving an argument from the stub method as data without an associated data type; establishing a first link between the implementation method and the stub method using the first unique identifier and the second unique identifier, wherein the first link is used to forward calls made by code executed in association with the second domain from the stub method to the implementation method; defining a stub of the inherited method to correspond to the inherited method, wherein the defined stub of the inherited method includes instructions to forward calls to the inherited method and is associated with the first domain, and wherein the inherited method is associated with the second domain such that the inherited method is restricted to receiving an argument from the stub of the inherited method as data without an associated data type; and establishing a second link between the stub of the inherited method and the inherited method, wherein the second link is used to forward calls made by code executed in association with the first domain from the stub of the inherited method to the inherited method. - View Dependent Claims (15)
-
-
16. A computer-implemented method comprising:
-
receiving at a client computer a vector graphics file from a third-party server; receiving at the client computer a library file from a library server corresponding to a first internet domain, wherein the library file includes instructions that implement a implementation method that is associated with a first identifier, wherein the third-party server corresponds to a second internet domain, wherein the vector graphics file includes instructions that implement a stub method to direct calls to the implementation method, and wherein the stub method is associated with a second identifier; associating the implementation method with the first domain and the stub method with the second domain so that the implementation method is restricted to receiving an argument from the stub method as data that does not have an associated data type; establishing a link between the implementation method and the stub method using the first identifier and the second identifier; receiving a call to the stub method made by code executed in association with the second domain, the call having an argument associated with a data type; in response to receiving the call, forwarding the call with the argument to the implementation method using the established link and passing the argument by reference without change to the argument, wherein the argument is received by the implementation method without the associated data type; and processing the forwarded call with the argument that was passed by reference using the implementation method, wherein the implementation method is configured to treat the received argument as the associated data type. - View Dependent Claims (17, 18)
-
-
19. A system for performing cross-domain linking of data types, the system comprising:
-
one or more servers corresponding to a first internet domain; means for creating a library file that includes instructions that implement a implementation method that is associated with a first unique identifier and a development library file that includes instructions that implement a stub method to direct calls to the implementation method, wherein the implementation method is associated with a second unique identifier; an interface to the one or more servers configured to receive a first request from a third-party server for the development library file to be compiled into a vector graphics file and configured to receive a second request from the client computer for the library file; and a communication module to transmit the development library file to the third-party server and to transmit the library file to the client computer, wherein the development library file is configured to establish a link between the implementation method and the stub method so that a call with an argument made to the stub method is directed to the implementation method with the argument being passed by reference when the vector graphics file and the library file are executed by the application on the client computer. - View Dependent Claims (20)
-
Specification