As Jeff points out, Storage is supported in GWT today. Storage is the HTML5 key/value pair datastore and has a 5mb limit (unless you are installed via the Chrome Web Store).
John LaBanca has a good overview (that is pretty entertaining) here: http://www.youtube.com/watch?v=KEkR1ox_K10 We don't currently have an IndexedDb wrapper. IndexedDb (http:// www.w3.org/TR/IndexedDB/) is a successor to the defunct WebSQL and is a much more powerful datastore than Storage, supporting queries and such. GWT support for IndexedDb will require some serious work and I don't know of anyone looking into it at the moment. Philip On Oct 5, 1:43 pm, Jeff Chimene <[email protected]> wrote: > On 10/05/2011 10:26 AM, [email protected] wrote: > > > Howdy, all, > > > Is anyone using webstorage or indexedDB client side data storage with > > GWT? Pointers to projects appreciated... > > Seehttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl... > > You can see an example > athttp://code.google.com/p/gwt-sked/source/browse/trunk/%20gwt-sked%20-... > > > > > Aside: > > > I note that the WebStorage group reached an impasse and stopped > > supporting the spec last fall. > > Could you provide a pointer to this? I'd heard something about it, but I > was under the impression that it was resolved by moving to a separate > spec from the HTML 5 spec. > > > I note further thathttp://www.w3.org/TR/IndexedDB/seems to be alive > > and kicking, but a brief reading seemed to indicate that this is a > > great system for key-object mappings, but not so great for the generic > > sql case of "select rows from foo where name is blah group by this > > order by that" kind of queries. ( might be wrong - section 3.1.3 keys > > can be DOMStrings. Since can supply a keyrange to an index, you may > > be able to generate the kind of selects I am used to, as long as you > > can generate an index such that the result of that query would be > > expressable as either indexkey==foo or low < indexkey < hig. > > > Aside aside, does anyone have real world experience? I do not mind if > > the results only work on Chrome/FF/Safari, but IE would also be cool. > > The GWT storage API works for me in IE9. As usual, YMMV. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
