News for hackers. Stuff that matters.
Re:Web Programming Is Getting Unnecessarily Complicated by flukus on Tuesday July 19, 2016 @01:48AM (#12120008)
Assuming all the required data is reachable offline, which would make the choice of a web app very questionable.
Re:Web Programming Is Getting Unnecessarily Complicated by onion2k on Tuesday July 19, 2016 @03:15AM (#12120296)
What work is required to make an app fulfill it's need is mostly very similar regardless of what delivery mechanism you use to get it to the user. Native has a few advantages (performance, build tools, layout libraries, etc), but if all you need is available on a web app platform and the performance is good enough then a web app can still be a very good choice, namely because the code assets easily can be shared with other web offerings and there's vastly more available developers to do the job so hiring someone to write it is much, much easier (assuming you're not outsourcing it).

There are a lot of things that you have to do regardless of how the app is delivered - you need to work out what the app actually needs to do, you need to design the business logic, you need to design the look and feel, you need to get the UX right, you have to throughly test it. On a decent size app, the job of actually writing the code is about 25% of the work required. In my opinion, something that represents a quarter of the project probably shouldn't drive the entire process.

Re:Web Programming Is Getting Unnecessarily Complicated by flukus on Tuesday July 19, 2016 @03:33AM (#12120351)
The apis and libraries for an offline app are very different to an online one. If you build an offline app as a html/js app then good like finding libraries for common tasks, like file system access.
Re:Web Programming Is Getting Unnecessarily Complicated by onion2k on Tuesday July 19, 2016 @03:50AM (#12120433)
When I'm talking about offline-first progressive web apps I'm not referring to something that would load data from a file system.

https://developers.google.com/web/fundamentals/getting-start...

As it is though, the API for file system access in JS might not be standard yet (and might never be) but it works well in Chrome: https://developer.mozilla.org/en-US/docs/Web/API/File_System...