Questions tagged [offline]

If an application that communicates with a remote system as a normal part of its operation but is in a state where it is unable to communicate with that remote system, it is in an "offline" state.

Questions dealing with "offline" focus on the operation of an application when it is unable to communicate with a remote host and that communication is essential to the operation of the application.

The goal of operating in offline mode is to provide smooth operation even in the absence of an essential part of the system. The user should be either unaware or minimally aware that core functionality is missing or delayed.

For example: a web application running in a browser that manages web-based email might still be able to perform limited operations when offline, queuing operations. Then when the remote host is accessible, it may sync with the host and perform those queued operations.

17 questions
194
votes
3 answers

How is localStorage different from indexedDB?

localStorage and indexedDB are used for offline storage of data in HTML5. What are their key differences and which one is preferable in what situations?
user52009
50
votes
3 answers

Strategy for generating unique and secure identifiers for use in a "sometimes offline" web app

I have a web based project that allows users to work both online and offline and I'm looking for a way to generate unique ids for records on the client side. I'd like an approach that works while a user is offline (i.e. unable to talk to a server),…
herbrandson
  • 611
  • 1
  • 6
  • 7
6
votes
1 answer

What is a good software architecture for POS with offline mode?

I have a software for small delivery stores (pizzeria, Japanese, etc) here in Brazil running on a few dozen customers and have the possibility to expand it to many more customers after evolving it to a full POS (Point of sale) software. However, …
3
votes
3 answers

Best approach to creating a secure offline login system in C#?

I'm rather new at programming so I'm still getting a grip on things. I'm creating an offline login system in C# that will have the ability add/remove users. The computer will not be connected to the internet. This was the approach that I was going…
user326468
3
votes
1 answer

The future of application cache in HTML 5

I had previously deployed application storage in HTML5 to great success in the deployment stage of a few client projects. I used the app cache feature mostly as a way to allow my clients to remotely install kiosk software in their web browser…
rgb
  • 879
  • 2
  • 8
  • 18
2
votes
3 answers

Data from devices with unreliable clocks

Are there any viable approaches to dealing with data coming from devices with unreliable clocks? We have a database system running on a central server. The latest addition to the system is a bunch of mobile barcode scanners running Android. We are…
SystemParadox
  • 236
  • 2
  • 6
1
vote
1 answer

Offline-Login Procedure in PWA

I have kind of a unique usecase: Phones that are used to connect to the app might be shared Connections are very unstable (sometimes no connection for half a day) Data should be accessible through the interface only by an authenticated user The…
1
vote
1 answer

maintain server business logic for multiple version of offline client

I have an offline application and the data is 2-way synchronised between server and the app using pouchdb-couchdb. One requirement is both the server and the app must able to mutate the application data. Now I have the problem to maintain large…
kingwei
  • 147
  • 2
1
vote
1 answer

Offline First: How Do I Fetch Data?

I'm new to this community, I'm glad I found this and so I can ask questions like this one (as per https://meta.stackexchange.com/questions/68384/whats-the-difference-between-stack-overflow-and-software-engineering-se-previo). The problem is simple,…
Glenn
  • 121
  • 5
1
vote
1 answer

Architecture for Online-Offline Web Application

I have a data-driven legacy system (has a Java Swing client and a JavaEE application server) in my workplace, This system uses a single database for querying and modifying data. Recently we've been asked to write a new web application that…
Av94
  • 11
  • 1
  • 3
1
vote
1 answer

Publish and Subscribe (data transfer) with permanently offline nodes. Are message queues a good fit?

The general question is what kind of mechanism can I use to transfer data to and from publishers and subscribers where publishers or subscribers can be permanently offline? Can message queues be used for this? Possible approach I am thinking a…
Kent Bull
  • 141
  • 8
1
vote
1 answer

Is there a way to download Google's voice recognition API so it can be used offline?

I'm playing with Google's voice recognition for a personal project and I have a fun little Q&A program written in Python using it. The problem, as it were, is that it means I have to be connected to the internet to access the API or the program…
user212476
  • 37
  • 4
1
vote
1 answer

offline application development for mobile devices

I am looking to develop an application whereby field staff can complete forms in an offline capacity (when onsite I`m assuming no internet connection) on an Apple or Android device and post the results to a web service when they are online. I have…
1
vote
1 answer

How do browsers handle URLs in HTML5 offline mode?

I just read the de facto standard for HTML5 offline/localStorage. It has me curious: if I build my web app to work regardless of whether or not there's an internet connection, and I use HTML5 localStorage to do this, then how are web app URLs…
herpylderp
  • 2,017
  • 3
  • 21
  • 27
0
votes
2 answers

Keep channels online, even though underlying systems are offline?

We have six very old systems where the newest one is built 1995. All these systems have batch jobs running from midnight to 6 AM every night, and these systems are offline. On top of these six systems there is an API from which different channels…
Benny Skogberg
  • 370
  • 5
  • 20
1
2