Good day! Need advice for developing a web application:

  • the application works with a (small) database
  • there is an online version that works through the browser
  • there is an offline (local) version of the application that works without an Internet connection as well as online, with a local copy (part) of the database, without losing the main functionality
  • it is desirable that for the offline version there was no need to rewrite the code (Java?)
  • it is desirable that the offline version be multiplatform, for Windows, Linix, Mac, Android

There is experience in developing applications only under Windows. What are the ideas for choosing an architecture, a development tool, a DBMS for online and offline versions?

1 answer 1

There are few alternatives, because cross-platform is always:

  1. Java (+ jsp for the browser, or applets, etc.)
  2. Clean, uncomplicated web :) I mean html5 + js, with all its gadgets moderately support browsers. Web Storage, Application Cache, WebSQL, Indexed DB, LocalStorage, SessionStorage and other goodies.
  3. Maybe there is something else, but I’ll not say it like that - no one has a real cross-platform experience ...

For DBMS, you can use (if the database is small) SQLite, MySQL, DB2

In the case of Java, you can use the internal / embedded database

PS: Google also has the ability to work with mail in the browser offline.