×

ARCHITECTURAL PATTERN FOR PERSISTENT WEB APPLICATION DESIGN

  • US 20100257230A1
  • Filed: 04/03/2009
  • Published: 10/07/2010
  • Est. Priority Date: 04/03/2009
  • Status: Active Grant
First Claim
Patent Images

1. A computer system for operating a web application with offline capabilities, comprising:

  • a client device having a computer processor and a computer memory;

    a web browser configured to execute on the client device;

    a local web application that is configured to operate within the web browser;

    a web interface configured to manage communications between the local web application and a server system associated with the web application;

    a write queue maintained in the memory;

    a persistent local database maintained in the memory containing a plurality of data items, each being associated with an identifier that enables each respective data item to be uniquely identified on the client device and on the server system;

    wherein;

    when the web application needs to perform an operation on a data item, the web application issues a database request to determine if the data item is in the local database;

    if the data item is not in the local database, the web application issues the data request to the server system via the web interface;

    if the data item is in the local database and the operation involves updating the data item, the web application performs the operation on the data item stored in the database and writes information characterizing the operation to the write queue along with the identifier of the data item;

    when a network connection exits between the client device and the server system, the web interface drains the write queue to the server system.

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