W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: Proposal for addition to WebStorage

From: Nikunj Mehta <nikunj.mehta@oracle.com>
Date: Fri, 24 Apr 2009 16:09:24 -0700
Cc: public-webapps <public-webapps@w3.org>
Message-Id: <9B0E9B50-C98B-4885-994D-43B0B9A739BA@oracle.com>
To: Ian Hickson <ian@hixie.ch>
BITSY is offered as a complementary technique for WebStorage not as a  
replacement to SQL.


On Apr 24, 2009, at 4:03 PM, Ian Hickson wrote:

> On Fri, 24 Apr 2009, Nikunj Mehta wrote:
>>
>> We want to standardize interception of HTTP requests inside Web  
>> browsers
>> so as to allow applications to do their own interception and  
>> seamlessly
>> access data on-line and off-line. This is primarily targeted at
>> improving availability of data used by Web applications and improve
>> their responsiveness.
>
> How would you implement an offline Web mail client with such a  
> mechanism?

I know how to implement a business application using this technique,  
sorry I don't claim too much familiarity with Web mail.

>
> In particular, how would you maintain the "read"/"unread" state of
> individual e-mail messages, or move e-mails between folders as the  
> user
> drags them around, or search for messages from a particular user  
> received
> between a set of dates?

Each message has a network representation, and a URL to go along. So  
while you are manipulating its attributes, you are essentially  
updating that representation. Of course, you can build a structured  
database (possibly accessed using SQL) to enable the navigation and  
query mechanisms you are interested in. This database can be  
maintained by the proposed interceptors, thus creating a database that  
is only read by applications and updated by the synchronization  
library. All updates to data are seen as network requests as opposed  
to SQL UPDATE statements.
Received on Friday, 24 April 2009 23:11:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:31 GMT