Sometimes the app you need can be a web app that you run on a webserver, and access through a browser and that is ok.
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. Sometimes an internet app is secretly a local app too.
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.
Having used it for some toy projects I can verify that it is awful for toy projects.
It leads to gigantic, complicated builds with massive dependencies.
Tedious. Probably good for hip dotcoms?
I do enjoy the ecosystem of handy utilities that people have built for
node.js though, just so long as I do not need to do any myself.
- Secure by default. No file, network, or environment access, unless explicitly enabled.
- Supports TypeScript out of the box.
- Ships only a single executable file.
- Has built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
- Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno: deno.land/std
Has this helped? I suspect it is too late.
Desktop embedded browser
Now, choose your weapon:
Smartphone/desktop framework apps
AFAICT the hotness is Flutter
Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.
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.
Use Dart instead