3
Wack
7y

!rant && advise
I have some expirience working as full stack developer, but focussed latly mainly on backend (php/java). However for one project, I need a desktop application and I was wondering, if you would recommend electron for it.
Pros:
- I could reuse some of the webapp stuff and cache it offline using web workers
- Styling done via HTML/CSS
- Portable between Linux/Windows/Mac
Cons:
- I haven't worked (much) with node js so far, but that shouldn't be a too big problem

What are the pros and cons from your point of view? Would you recommend electron? Why yes, why no? If no, what would you reccomend as alternative?

My knowledge so far:
Good: PHP/Java (without GUI)/CSS
Quite good: Javascript
Meh: Python (I can hack things together but wouldn't say I'm good with it...), C++

Comments
  • 0
    do you know electron?
    https://goo.gl/zqC4Lv
    Electron | Build cross platform desktop apps ...
  • 0
    @heyheni that's what I was thinking about. Are there any cons to using it in your opinion?
  • 0
    @Wack maybe that the barebone electron app is 50mb alone because of chromium?
  • 0
    @heyheni we live in a world where most computers should have >= 4gb of ram, so I wouldn't worry about those 50mb to much for now, or do you mean the file size, so it will take some time to download?
  • 0
    filesize

    you know www.yeoman.io ?
    There is a project generator for electron which is a great start to try it out yourself. :)
  • 0
    I genuinely like Electron, unpopular opinion though.
  • 0
    @heyheni thanks I'll have a look.

    What other stacks would you reccomend? I thought about either react or vue as js framework and of course npm and gulp

    Anything else I should take a look/consider? (Note I haven't worked with either vue nor react, but wanted to try both for some time). Although I heard good things about Vue, I tend to react, as Slack (which runs on electron) is using it and sulu.io will switch to it too. Plus type script, to have static types.
  • 1
    @Wack if you need mobile apps too than react. here's an interesting video on how airbnb uses one single react codebase and tweaks it for every thinkable plattform there is (like vr).
    https://youtu.be/8qCociUB6aQ
Add Comment