×

Caching data objects on a client side using a prototype chain

  • US 8,862,830 B2
  • Filed: 02/17/2012
  • Issued: 10/14/2014
  • Est. Priority Date: 02/17/2012
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for caching a data object, comprising:

  • obtaining, with a processor of a computer, a copy of an original data object to a specified depth;

    caching the copy of the original data object to the specified depth with reference to the original data object in a prototype chain;

    receiving a change to a value of a property of the cached copy;

    creating a new property entry for the changed value of the property of the cached copy;

    setting a change flag to indicate that there is a changed value for the property;

    receiving a submit operation for the cached copy of the data object; and

    for the property of the cached copy,determining whether the value of the property has changed;

    in response to determining that the value of the property has changed,updating a value of a corresponding property of the original data object; and

    resetting the change flag to indicate that the value of the property of the cached copy is a same as the value of the corresponding property of the original data object.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×