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.
Local dev website
I can do a lot by just hosting a webpage somewhere, and even some things with an HTML files on your hard disk, although these are locked down for security reasons.
So I can run a localhost dev server, to have my own tiny local internet.
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.
Deno is a reboot of Node.js by some node.js people who wanted to avoid the horror of the various debilities in what they had created.
- 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:
I have no opinion about either of these, having not used either. Other people Compare these two options.
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
No comments yet. Why not leave one?