发明名称 |
TEMPORARY CONTENT VERSIONING ON A CLIENT IN A REST-BASED SYSTEM |
摘要 |
Techniques are disclosed for maintaining different versions of a web resource. A client-side application observes and tracks all asynchronous requests for web resources sent from the client to a server. Every time a user attempts to modify a resource on the server, the application stops or otherwise pauses the execution of the request and retrieves a representation of the resource from the server in an original state. The representation is stored locally on the client in a local storage, such as browser persistent storage, and may be stored with a timestamp and the corresponding resource URL. Subsequently, the request to modify the resource is executed. In this manner, a representation of the resource is retained in an original state prior to modification. The locally-stored representation can be used to restore the resource back to the original state in response to a so-called undo request by the user. |
申请公布号 |
US2015106426(A1) |
申请公布日期 |
2015.04.16 |
申请号 |
US201314051732 |
申请日期 |
2013.10.11 |
申请人 |
ADOBE SYSTEMS INCORPORATED |
发明人 |
Antipa Damien |
分类号 |
H04L29/06 |
主分类号 |
H04L29/06 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer-implemented method comprising:
receiving, via a web browser, a first request to change a web resource in a stateless representational state transfer (REST)-compliant software architecture; in response to receiving the first request, retrieving a representation of the web resource in an original state; storing the representation of the web resource in the original state in a storage local to the web browser; changing the web resource to a modified state according to the first request; receiving a second request to restore the web resource to the original state; and in response to receiving the second request, restoring the web resource to the original state based on the stored representation of the web resource in the original state. |
地址 |
San Jose CA US |