What Electron hast to offer more than a Chrome browser is ability to write 
and read local files without user intervention. To save file from browser, 
user must click download link and then choose where to save file or set 
preference to download all files in the same folder, and after downloading 
manually move file to its final location. It is not big deal to do it once 
per session, but imagine saving Leo outline which contains ten or more 
files. Using Electron would allow user to save files and also to open local 
files.

You could say that the same functionality can be achieved with python 
back-end, but sometimes it can be very useful to just read and write local 
files directly from Web page. It certainly would be much easier to 
implement than full client-server version for this basic functionality of 
reading and writing local files.

The other advantage of using Electron is that programmer can rely on its 
Web API rather then to check which browser version user have installed and 
whether it is compatible or not.

The disadvantage is of course size of download (~ 50M).

Vitalije

On Wednesday, February 7, 2018 at 4:42:40 AM UTC+1, Terry Brown wrote:

>
> https://discuss.atom.io/t/how-to-run-electron-desktop-app-in-web-browser-without-downloading/30495
>  
>
> only serves to deepen my suspicions that Electron is solving the wrong 
> problems. 
>
> Maybe I'll try and make a proof of concept for the python server + some 
> other js stack just so we're sure we're all on the same page. 
>
> Cheers -Terry 
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to