Hi,
We are building a rich web application and plan to allow offline
access with local data storage. I wanted to use Google Gears but I
found out its been deprecated in favour of new HTML5 technologies. I
turned my attention to Web SQL Database but it seems Web SQL is no
longer in "active maintenance" which leads me to believe that it will
be dropped from HTML spec (Source:
http://www.w3.org/TR/webdatabase/)
I have spent all day today playing with localStorage but I can see a
problem. I'm looking for a solution that allows me to save data as
rows and be able search on certain columns (like name, phone, etc).
localStorage stores data in key value pairs which means it isn't going
to be useful for using searches (I'm open to suggestion if someone can
give any hints).
Using Web SQL will allow me to run queries and do searches. My only
worry is a year or two in to the project, Web SQL might be dropped by
Google Chrome and I'll end up in a sticky situation.
I would appreciate any input. Thanks
PS: I'm not worried about any other browser support as I have agreed
to deploy the web app only on Chrome. We will update all our customers
with latest copy of Chrome and it will be used to access the app (I
know, lucky me!), so browser compatibility isn't a biggy.