W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] html5 state handling: overview and extensions

From: Michael Nordman <michaeln@google.com>
Date: Wed, 17 Jun 2009 20:18:02 -0700
Message-ID: <fa2eab050906172018s37246e16lef0cd1115111b2ee@mail.gmail.com>
This breakdown is a useful way to think about application state in the
browser. Another axis that could be incorporated into the model is lifetime.
There is some overlap between Server-Controlled and Script-Controlled realms
in cookies, applications definitely have a dependency on that overlap being
there. There are two constructs not represented in your writeup, Database
and ApplicationCache.
> Possible solutions would be to add a new "documentStorage" to
> WebStorage, or to offer a History.setDocumentState method.

I see other possibilities with WebStorage too.
  "documentStorage" has persistent lifetime + document scope
  transient lifetime + document scope  (transient does not survive a browser
  transient lifetime + user agent scope    "temporaryStorage"
  transient lifetime + history entry scope   "privateStorage"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090617/ac620358/attachment.htm>
Received on Wednesday, 17 June 2009 20:18:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC