Solved

HTML5 to Store Data in Local Storage and Write XML or JSON without IIS etc

Posted on 2014-01-22
1
967 Views
Last Modified: 2014-01-23
Is this possible to do?  Data is captured in html5 forms, stored in local storage. While the limit is 5Mb per device/browser do key/value records mean you can store as many form records as will fit in 5Mb?

I would like to write XML although I want to eliminate 3rd party dependencies like google api's etc. If native JSON is the best answer, can the forms append the data after each new record is  added?

Are clientside javascript events and codes enough to perform the roles of a dedicated server like IIS.    I am not considering PHP at all. It must be a device and software independent solution.

Is there any support to compress and encrypt this data without a dedicated server? not essential for answer though..
0
Comment
Question by:XGIS
1 Comment
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Are clientside javascript events and codes enough to perform the roles of a dedicated server like IIS.
No.  Where do you plan on loading the page from in the first place?

Here is some info on 'local storage': http://www.w3schools.com/html/html5_webstorage.asp  Note that the restrictions are similar to cookies in that info stored by a web site can only be retrieved when you're on that same web site.

It must be a device and software independent solution.
That means that you must limit your application to the features that are common to all devices.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now