Virtual javascript object notation
First Claim
Patent Images
1. A method for receiving objects from a server, comprising:
- receiving at a client an object definition from the server, said received object definition defining an object of a data store associated with a server;
receiving at the client separate from the received object definition an array of elements from the server wherein each of the received elements in the received array includes data representing the object associated with a data store, and wherein each of the received elements does not include object definition data;
instantiating, at the client, a plurality of objects based on the received array and based on the received object definition without again receiving the received object definition from the server, each of the plurality of objects corresponding to one of the elements in the received array wherein the objects are accessed via a web application executing on the client;
wherein instantiating one of the plurality of objects comprises;
creating a new object on the client based on the received object definition;
populating the new object with data from one or more elements in the received array;
expanding the new object by applying business logic contained in the new object to the populated data, said business logic generating additional data not present in the received array; and
populating the new object with the additional data,wherein expanding the new object comprises assigning by the client a first value from the received array to a first property of the new object and assigning a second value to a second property of the new object, wherein the second value is a function of at least one of a plurality of properties of the object, a defined constant, and a derived value from some other procedure executed by the client.
2 Assignments
0 Petitions
Accused Products
Abstract
A client receives an object definition defining an object and an array of elements from a server. Each of the elements in the received array includes data representing objects associated with a data store of the server. The client instantiates a plurality of objects based on the received array and based on the received object definition. The objects are then accessed via a web application executing on the client.
24 Citations
17 Claims
-
1. A method for receiving objects from a server, comprising:
-
receiving at a client an object definition from the server, said received object definition defining an object of a data store associated with a server; receiving at the client separate from the received object definition an array of elements from the server wherein each of the received elements in the received array includes data representing the object associated with a data store, and wherein each of the received elements does not include object definition data; instantiating, at the client, a plurality of objects based on the received array and based on the received object definition without again receiving the received object definition from the server, each of the plurality of objects corresponding to one of the elements in the received array wherein the objects are accessed via a web application executing on the client; wherein instantiating one of the plurality of objects comprises; creating a new object on the client based on the received object definition; populating the new object with data from one or more elements in the received array; expanding the new object by applying business logic contained in the new object to the populated data, said business logic generating additional data not present in the received array; and populating the new object with the additional data, wherein expanding the new object comprises assigning by the client a first value from the received array to a first property of the new object and assigning a second value to a second property of the new object, wherein the second value is a function of at least one of a plurality of properties of the object, a defined constant, and a derived value from some other procedure executed by the client. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for receiving contact objects from an email server, comprising:
-
receiving at a client a contact object definition from the email server in response to a request, said contact object definition defining a contact object of a data store associated with the email server; receiving at a client separate from the received object definition an array from the email server wherein each received element in the array includes data representing the contact object associated with the data store wherein the array is received in response to a request for a plurality of contact objects associated with a user, wherein each of the received elements does not include object definition data; instantiating, at the client, a plurality of the contact objects based on the received array and based on the received contact object definition without again receiving the received object definition from the server, each contact object corresponding to one of the elements in the array; and
embedding the instantiated plurality of contact objects in a web page wherein the web page is rendered to the user;wherein instantiating one of the plurality of contact objects comprises; creating a new contact object on the client based on the received contact object definition; populating the new contact object with data from one or more elements in the received array; expanding the new object by applying business logic contained in the new object to the populated data, said business logic generating additional data not present in the received array; and populating the new object with the additional data, wherein expanding the new object comprises assigning by the client a first value from the received array to a first property of the new object and assigning a second value to a second property of the new object, wherein the second value is a function of at least one of a plurality of properties of the object, a defined constant, and a derived value from some other procedure executed by the client. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer readable storage medium not including communication media defining a virtual JavaScript object, comprising:
-
an object definition defining a JavaScript object of a data store associated with a server; an array of data, each element in the array comprising data representing the JavaScript object associated with the data store; a client that first receives the object definition and then separately receives the array of data; and wherein in response to receiving computer readable storage media defining the virtual JavaScript object, the client executes instructions for instantiating a plurality of JavaScript objects based on the array and based on the JavaScript object definition of the received computer readable storage media without again receiving the JavaScript object definition, each instantiated object corresponding to one of the elements in the array; wherein instantiating one of the plurality of JavaScript objects comprises; creating a new JavaScript object on the client based on the received object definition;
populating the new JavaScript object with data from one or more elements in the received array;expanding the new JavaScript object by applying business logic contained within the new JavaScript object to the populated data, said business logic generating additional data not present in the received array; and populating the new object with the additional data, wherein expanding the new object comprises assigning by the client a first value from the received array to a first property of the new object and assigning a second value to a second property of the new object, wherein the second value is a function of at least one of a plurality of properties of the object, a defined constant, and a derived value from some other procedure executed by the client. - View Dependent Claims (14, 15, 16, 17)
-
Specification