# US 2008/0307043 A1 · Method and architecture supporting high performance web applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307043 A1
- Document ID: US20080307043A1
- Status: Published application
- Kind: A1
- Application number: 12/113,322
- Filed: 2008-05-01
- Published: 2008-12-11
- Earliest claimed: 2007-06-11
- Inventors: Paul Raymond Dorsey; Yalim Kerem Gerger
- Web page: https://patentgrep.com/patent/US20080307043A1

## CPC

- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for architecting computer web applications where logic supporting the application is primarily stored in an application server. The client machine stores the current look of the application. Information concerning user interface events and data changes is transmitted from the client to the application server. The application server interprets those events, executes appropriate server-side actions and determines the appropriate user interface changes, which are transmitted from the application server to the client. The client then executes the user interface changes.

## Claims

### Claim 1

A method, comprising:
storing in a server memory an initial state of an application;
transmitting to a client a user interface (UI) page representing the initial application state, the UI page including at least one object having associated with it an event;
processing a notification of the occurrence of an event according to a set of rules;
updating a state of the application in response to the processed notification; and
transmitting to the client a set of actions adapted to be executed by the client to update thereby a UI page.

### Claim 2 (depends on 1)

The method of claim 1, wherein the UI page comprises are XML encoded pages.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first and updated applications states comprise one or more of variable states, passcodes, permissions, user identifications, documents in progress and session states associated with the requested application.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
said initial application state is determined in response to a request from the client for the application.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, at the client, a UI page including a least one object having associated with it an event;
rendering the UI page; and
transmitting to the server an event notification in response to the detection of a corresponding event.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
in the case of an updated application state being associated with a UI page previously sent to the client, transmitting an identification of the previously sent UI page to the client.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
storing in a memory each received UI page; and
in response to receiving an identification of a cached UI page, retrieving the identified UI page from the memory and rendering the retrieved UI page.

### Claim 8 (depends on 5)

The method of claim 5, wherein each received UI page is persistently stored by the client.

### Claim 9 (depends on 5)

The method of claim 5, further comprising:
storing in a memory events associated with only non-data related actions; and
performing the non-data related action in response to the detection of the corresponding event condition.

### Claim 10 (depends on 1)

The method of claim 1, wherein the application comprises one of a web application and a client-server application.

### Claim 11

A method for implementing a web application, comprising:
instantiating a logic portion of a web application at a server;
transmitting to a client user interface (UI) code adapted to support at least one screen of a user interface portion of the web application;
receiving, at the server, event data indicative of interaction with a user interface screen at the client;
processing the received event data in accordance with the logic portion of the web application; and
transmitting to the client a set of actions adapted to be executed by the client to update thereby a UI page.

### Claim 12 (depends on 11)

The method of claim 11, wherein the logic portion of the web application includes an application state machine (ASM) for storing one or more of variable states, passcodes, permissions, user identifications, documents in progress and session states associated with the requested application.

### Claim 13 (depends on 12)

The method of claim 12, wherein the logic portion of the web application includes an action engine (AE), for receiving notifications related to client-side events associated with the application, for processing the received notifications in response to a current state of the application and a set of application-specific rules, and for specifying actions to be executed by the client.

### Claim 14

A software architecture adapted to facilitate a web application, comprising:
a server-side logic engine for storing a current state of an application and providing updated user interface code to a client device in response to changes in a current state of the application;
a client-side event detector, for detecting user interface events;
a client-side event transmitter, for selectively transmitting to the server indications of detected user interface events; and
a client-side action interpreter, for receiving and interpreting action requests from the server.

### Claim 15 (depends on 14)

The software architecture of claim 14, wherein:
the logic engine implements a server-side action engine (AE) for receiving notifications related to client-side events associated with the application, for processing the received notifications in response to a current state of the application and a set of application-specific rules, and for specifying actions to be executed by the client.

### Claim 16 (depends on 14)

The software architecture of claim 14, wherein the event detector and action interpreter are stored in a client device and activated by the client in response to receiving the client-side action interpreter.

### Claim 17 (depends on 14)

The software architecture of claim 14, wherein only those client device UI interactions that require server-side processing are transmitted to the server.

### Claim 18 (depends on 14)

The software architecture of claim 14, wherein:
in response to a client request for an application, the architecture supplies to the client code for implementing an initial user interface (UI) function including modifiable fields adapted to receive user information in accordance with the application.

### Claim 19

A software architecture adapted to facilitate a web application, comprising:
a server-side application state machine (ASM), for storing in a memory a current state of an application;
a server-side action engine (AE) for receiving notifications related to client-side events associated with the application, for processing the received notifications in response to a current state of the application and a set of application-specific rules, and for specifying actions to be executed by the client; and
a client-side code interpreter, for receiving and executing action data provided by the AE.

### Claim 20 (depends on 19)

The software architecture of claim 19, wherein only those client device UI interactions that require server-side processing are transmitted to the server.

### Claim 21

A computer program product wherein computer instructions, when processed by a computer, adapt the operation of the computer to perform a method comprising:
storing in a server memory an initial state of an application;
transmitting to a client a user interface (UI) page representing the initial application state, the UI page including at least one object having associated with it an event;
processing a notification of the occurrence of an event according to a set of rules;
updating a state of the application in response to the processed notification; and
transmitting to the client a set of actions adapted to be executed by the client to update thereby a UI page.
