Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window.LocalStorage on iOs
Message
 
 
À
23/11/2015 04:08:56
Information générale
Forum:
HTML5
Catégorie:
Stockage local
Divers
Thread ID:
01627762
Message ID:
01627790
Vues:
37
>>Hi,
>>
>>I am watching a course (in Pluralsight) on HTML5 Web Storage. A sample/test code is as follows:
>>
>>var storage = window.localStorage
>>
>>
>>The word "window" is a little confusing. What if I am running the page in iOs safari? Will it still work?
>
>It refers to the HTML5 Window so is available on any browser running HTML5. See : https://developer.mozilla.org/en-US/docs/Web/API/Window
>Or more specifically : https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
>In fact, bookmark the developer.mozilla.org website - it's the best reference to HTML5
>
>Are you going to be writing the server and client code?

First, thank you for the links. To your question about "server and client code", probably client. Let me explain. I have been working on this ASP.NET Web Forms application for some time and it all was supposed to work via WiFi. Now, my first beta tester says that they probably won't have a good/strong WiFi. So they prefer that I change the program to work in a disconnected mode. So I am going to save some files (initially some XML files) to the local storage on the tablet, when user has a good WiFi. Then as they process the work orders (defines in those XML files) I will store the results in local storage again (under a different variable). And when they are back to the WiFi available area they will upload the data from the local storage to the database. When I mean "they", my app will have to. The application will work on iPad Minis (this is what the customer purchased).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform