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
- 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 OFFLINE-CACHING
- Google Chrome Manifest fetch failed (6)
- Caching in Webview is not working in Android
- IE11 throws AppCache Fatal error
- Does IE 11 support offline storage, so web pages can work completely offline
- Internet explorer delets the manifest.appcache file when offline
- IE11 'Enable Protected Mode' is breaking the 'Application Cache'
- Handling slow internet connection with Openlayers 2
- Improve client-server data sync functionality with deltas
- Service Worker reload page on cache update
- Synchronized localstorage for android WebViews with online and offline content
- HTML5 web app not caching in iOS Safari for offline use
- Possibility to background cache to a specific RMDatabaseCache from the RMTileCache?
- memory & disk cache with JCS 1.3
- Nutiteq Android- Offline map is not displaying
- Why don't web browsers cache the sites we visit for offline use?
Related Questions in OFFLINE-MODE
- How to use Volley to support offline feature using cache? Does it support large JSON storage?
- How can i connect a iphone to another iphone or ipad programically and transfer data using Bluetooth?
- Offline login with encrypted local database ? Security Issues
- save data for offline mode of a web service app
- Contact form that holds form data locally if there is no network (Offline)
- Use psycopg2 to construct queries without connection
- HTML5 Offline: browser loads cached index page even when online
- Force applicationCache to reload cached files
- Save Youtube video to iPhone in the app
- install & configure mod_offline_post in ejabberd 20.07 version
- Flutter queue API requests to execute later
- Running Apache Dev/Test server locally
- could the first ever maven build be made offline?
- Website that runs without Internet?
- Spring Framework TEST RESTful Web Service (Controller) Offline i.e. No Server, No Database
Related Questions in OFFLINE-BROWSING
- Javascript database on browser hard-drive
- how to handle the data downloading in background dispatch queue from server if battery drains?
- How to Check that how much offline storage has been Used
- Using web sql database
- Can the new HTML5 manifest.cache file contain paths to directories?
- Using offline storage
- HTML Offline Application Cache, Listing Downloaded Files
- HTML Offline Application Cache, Getting Error Details
- Force rack-offline (or Rails) to update caching manifest
- IE 10 not using AppCache after browser closed
- Wrapper to support both webSql and indexedDB?
- Website that runs without Internet?
- HTML 5 offline storage cache manifest not working for mobile
- html5 offline application on multiple platform
- Building an Offline web app for Chrome browser
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 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