News for hackers. Stuff that matters.
Re:Electron considered harmful by Longhanks on Thursday November 24, 2016 @12:23PM (#13031427)
What if there was a centralized way of accessing HTML + CSS + JS applications? Instead of installing apps, you could just... "download" the necessary files to execute them? Perhaps even on demand from centralized.. "servers"?
Re:Electron considered harmful by detaro on Thursday November 24, 2016 @12:35PM (#13031520)
I really don't want APIs to freely access the filesystem, other processes etc in my browser. And my applications to work offline.

I haven't seen many examples of people using Electron to make applications that really should be web apps instead, but more for packaging web apps with native enhancements. Often I'd prefer a "proper" native app, pushing even more features in the browser IHMO is not the answer.

Re:Electron considered harmful by tscs37 on Thursday November 24, 2016 @12:47PM (#13031596)
>I really don't want APIs to freely access the filesystem, other processes etc in my browser. And my applications to work offline.

Ctrl+S -> Save whole webpage

alternatively get the Webpages source code.

Re:Electron considered harmful by josho on Thursday November 24, 2016 @12:37PM (#13031532)
> What if there was a centralized way of accessing HTML + CSS + JS applications

There is. The major OSs provide APIs to access the platform browser. The downside is you need a platform specific shim to set this up using native code. So, developers need to step outside of their JS worldview for a few days to avoid that 200mb app size penalty.

If you are building a platform agnostic app then I understand the value of Electron to avoid that work across each platform. But, it seems several of those Electron apps aren't even platform agnostic, so why not build the platform specific shim and be a better citizen on my hardware.

edit: I'm daft

Re:Electron considered harmful by mnx on Thursday November 24, 2016 @01:01PM (#13031698)
He was ironically talking about the web.
Re:Electron considered harmful by nmca on Thursday November 24, 2016 @12:43PM (#13031569)
Aha, he missed the joke...