Since the WebSQL has lost all the support and the development being stopped, how are people able to implement Offline Storage in web apps using HTML5. I know Google Chrome and Safari are still having it as a part of the browser but I guess soon it will be lost. So which are the technologies that are replacing it and what are the different things that need to be implemented to have an offline app rather than using webSQL?
How to get along with HTML5 offline apps when the WebSQL is deprecated?
935 views Asked by Shiv Kumar Ganesh At
3
There are 3 answers
2
Patrickdev
On
HTML5 supports localStorage, which allows you to store large quantities of data on clients' computers, somewhat comparable to cookies. All major browsers support it by now. You can read all about it at http://diveintohtml5.info/storage.html.
0
King Friday
On
localStorage and sessionStorage are supported in all major browsers now.
If you use JSON2 (google Douglas Crockford and JSON2) you can serialize your JSON objects for local and session storage.
Its not as nice as using SQL queries but you can work with JSON pretty well and there are some plugins to help you.
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in HTML
- Delay in loading Html Page(WebView) from assets folder in real android device
- Why does a function show up as not defined
- CSS Class is not applying to element (border width,color,and style attributes)
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- Automatically closing tags in form input?
- Positioning child at bottom of parent with scroll
- Remove added set of rows
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
- http://sigmajs.org/ les mis tutorial - why are my canvases 0 height?
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- Svg containers not positioning properly
Related Questions in WEB-SQL
- How to open existing database in websql
- What is the correct DateTime format in WebSQL to perform date comparison queries?
- Send sqlresult from background to content script
- Regexp to extract table schema from create table statement
- Cordova - WebSQL database not working in my phone
- Web SQL get last record from second table
- How to prepared statement in WebSql with GROUP_CONCAT
- How to protect localstorage and websql data in cordova - ionic application
- Storing Decimal value in Websql
- How to rename a database in Web SQL?
- How to add local file of sqlite \ websql db in cordova + node js + react?
- Problematic promises in phonegap code, using webSQL (SQLite)
- ERROR 1064 (42000) works on WebSQL but not on MySQL
- WebSQL for PhoneGap Application
- Web Sql select statement not able to extract third column
Related Questions in OFFLINEAPPS
- PhoneGap: Offline App Use
- IE11 'Enable Protected Mode' is breaking the 'Application Cache'
- php / mysql application to work offline when network is lost
- Simple, standalone (i.e., no external files), offline, client-based solution for selecting file and displaying contents in HTML with Javascript
- Storing Google Maps data for use offline with my Android application
- Mobile Services Offline PullAsync only retrieves data where updatedAt date > the latest record
- Can I install my own Windows Phone App on a real device without uploading the app to Store?
- Making localStorage and/or IndexedDB data offline permanent?
- Storing tables with localStorage and/or IndexedDB?
- Mapbox download offline maps on click
- Ruby On Rails html5 storage offline CRUD application with or without ActiveScaffold
- offline web application using JavaFX
- Can a PWA or Web App share itself to another mobile phone in an offline environment (no internet connection)?
- Flutter - Syncing Offline Data with Online Server (Complete Solution)
- Is it legitimate to insert UUIDs into Postgres that have been generated by a client application?
Related Questions in APP-OFFLINE.HTM
- Service Unavailable occuring even when app_offline.htm in use
- AWS ELB terminates instance when using offline.htm for IIS
- app_offline.htm throwing HTTP 500 errors on production box
- Ignore file from delete during WebDeploy
- HTML5 Offline Application
- Change http status 503 to 200 when serving app_offline.htm for specific URL
- ASP.NETC# Why is app_offline.htm file created automatically in solution?
- How to get along with HTML5 offline apps when the WebSQL is deprecated?
- Take an MVC web site offline and back online
- Best practices for using app_offline with webdeploy
- app_offline.htm file does not work
- App_offline.htm, CSS, images, and aspnet_isapi.dll
- VS2008 app_offline.htm not removed after build
- Is there a way to shut down an *entire* IIS site and all applications with a friendly message?
- Store large files for offline access in web application
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Chrome, Firefox and IE10 now also support IndexedDB, a replacement for WebSQL.