I am new to HTML5,very sorry if my question sounds silly to you. I want to understand HTML5 offline capacity. AIM is that application developed will save data in local database (browser) and when application is online the changes will be sent to the server for synchronization,similarly local database will be synchronized with remote database periodically or server will push changes to client. I was reading about HTML5 web databases,but I found that it is deprecated. There is one more support available called as IndexDB. can any one please tell me to accomplish this task which one I should focus? Is it possible with HTML5 as of now?
HTML5 offline support and how to do synchronize with backend database
2.4k Views Asked by Rajesh At
1
There are 1 best solutions below
Related Questions in HTML
- How to store a date/time in sqlite (or something similar to a date)
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- Is there any way to glow this bulb image like a real light bulb
- With non-graphical maps in Leaflet, zoomDelta doesn't work
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- How to redirect to thank you page after submitting a Google form embedded into a Google Site?
- Storing selected language in localStorage
- Fences (parenthesis, braces) in HTML and MathML
- Understanding Scroll Anchoring Behavoir
Related Questions in OFFLINE-CACHING
- Force resources and services cache for offline development
- Service Worker in angular 17 not working during offline mode
- Alternatives to URLVoid and VirusTotal that can be run offline
- Timelapse Camera App Crashes When Offline for 30 Minutes in React Native (Expo) - Firebase Upload Issue
- Runtime caching for APIs, in Vue, Vite PWA plugin seems not working?
- Alternatives to AWS Amplify DataStore with offline capabilities for GraphQL
- Firebase real time database offline persistence using Maui.net
- Creating a PWA for GeoGebra Applets so that they work offline without needing internet connection
- Progressive Web App not working in offline mode
- Caching vimeo private videos on cache using service worker
- Is everything from the table returned and the filtration is happening locally?
- Supabase - Mobile - Offline first - Sync remote Postgres DB to a local SQLite DB
- Laravel PWA - use in offline mode for Safari on Iphone & Ipad
- Cache offline an entire tree (or arbitrary routes) on user interaction
- React app to work offline not able to cache files after deployment
Related Questions in OFFLINE-MODE
- IoT Hub Equivalent For IoT Central Offline commands
- How to calculate billing characters of Vertex AI in offline mode, without using the FREE Post API?
- Why do I get the error "InvalidStateError: Context has stopped" when calling write() on FileSystemFileHandle?
- How can I download photorealistic 3D tiles for Cesium JS (React) offline (self hosted)?
- Backup installed packages and restore them later install those on another Ubuntu system without internet connection
- navigator.onLine returns false sometimes
- how to install docker on offline centos(7.5)?
- Got SyntaxError: expected expression, got '.' in vendor.js in angular.js running inside container
- How should I avoid downloading gradle.zip when I want to build my neo4j graph-data-science-master project?
- How to use react-native-offline package in App?
- How to show sbt a custom repo?
- jitpack.io status code 521 from server Android Studio
- Android Google Maps Offline - my location is not shown
- Firebase Flutter Offline Capability - to get accurate timestamp for offline records
- Navigate to google maps and show directions offline
Related Questions in OFFLINE-BROWSING
- How do I deactivate the internet entirely with Firefox's developer tools?
- How can I grab this website content without losing javascript content
- Service Worker Strategy for Cached First Scenario - Preloading Screen
- Offline PWA not behaving as expected on phones. Asks for connectivity despite caching all relevant files
- Download complex 3D JS/Canvas webpage for offline
- Flutter Making an Image.file() image into an ImageProvider() for zoomable photos
- indexedDB create multiple ObjectStore simultaneously
- Social Media Icons disappeared on my Online Website while they appeared on my offline website
- How does the JavaScript ofline serviceworker example work?
- ServiceWorker handling fetch events to URLs outside scope
- Viewing websites offline - how to get around unneeded ajax and jquery manipulation?
- How to save a webpage offline that is rendered with ember-cli-fastboot?
- How can I make "Service Worker" work in local network?
- Vuetify Offline Docs
- ODM/ORM for PouchDB in JavaScript
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)
Popular # Hahtags
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?
As I am not 100% sure what you are after.
Here is some quality reading information on these topics.
Storage:
Dive Into HTML5 Storage provides a lot of useful information on localStorage.
localStorage works as
key : valueso it is quite easy and nice to use.Offline Caching:
I would suggest reading up on using an
appcache.Dive Into HTML5 Offline provides a lot of useful information on this.
Updating your database:
As for updating your data base you would need to send the data from the
clientto theserverthe most simple way of doing this would be having your server accept aHTTP POSTfrom the web page.Take a look at the jQuery POST. The best way to do this would probably be to create an array of your localStorage and
POSTthe array to the server. You could have a look at formatting this as JSON or XML etc.Your web server here would have to accept the
HTTP POSTand then have logic to handle the data that is provided from the client. E.g: Add it to / update your server side DB.Note that Dive Into HTML5 is now open source and on GitHub