Normal web site
On the internet
Covered elsewhere. It’s called the web. Except there is a wrinkle of
interest to some of us: offline mode
ServiceWorker tech allows you to
serve a web app even without connectivity. I don’t care enough about
this to really understand the API; I just cargo culted enough chunks of code to
make it go. Seems to work.
Some of my friends recommend firebase for combo mobile/webapp development. I don’t have opinions about it but is noted here against future need.
Desktop embedded browser
The approach popularised by the abominable Adobe AIR is less terrible. Can also be made to run with, e.g. python GUIs.
Yep, you can run this on the desktop with a GUI and everything. It’s not-too-hardish.
Now, choose your weapon:
Smartphone framework apps
react-native is Facebook’s attempt to generalise to native apps, or something.
ionic builds on cordova with native look-and-feel.
Run it straight in your Chrome browser.
- Weird script inclusion style that is not quite the native web
- doesn’t generalise to other browsers
- more powerful than usual web-pages (UDP!)
- instant web store
- Can include compiled C++ code vial PNaCl
chrome apps extension (essential)
chrome apps documentation (explanatory)
chrome dev editor is useful for building apps, but it has been abandoned for unspecified reasons
Frameworks need to support Content Security policy, whatever that is. At least two frameworks can handle this.