j2u
November 25, 2016, 1:23pm
1
Hello Everyone,
I’m looking for a way to create a standalone phoenix application that could be used as a desktop application on a end-user computer.
I guess the “desktopization” of the front-end part of the application could be done by Electron (electron.atom.io ).
But how can the elixir based back-end and the database could be embed in a desktop application too ?
Thanks u so much for any ideas, tips
Regards,
Julien
2 Likes
I’m curious about this too.
1 Like
AstonJ
March 13, 2018, 6:52pm
3
You might find this thread interesting:
I’m completely new to Elixir and don’t know Ruby, either.
Is anyone writing GUI applications in Elixir? I don’t know the language and the easiest way for me to learn (not to mention the way I’d primarily be using any language right now) is for desktop applications with a GUI front end - ideally something that will work on both Mac and Linux. What are my choices and how well supported/ integrated are they? In case it matters, I’m specifically interested in writing a distributed business applic…
Also, I know @kofno has some experience with Electron, if he sees this he may be able to chime in
kofno
March 13, 2018, 7:20pm
4
Electron seems like it would be the easy part
I think the hard part is packaging up elixir and erlang and delivering through an installer of some sort. I’m not sure how you’d accomplish that.
2 Likes
Eh it’s not too hard, even a release is self contained enough that all we did was just copy it to the windows server and run back when we ran it on windows.
Plus there is at least 1 BEAM VM desktop app that I know of, Wings3d, though it’s wxWidgets rather than electron or so.
You could also make a webassembly compiler to compile the C BEAM VM engine to webassembly too. ^.^
1 Like
kofno
March 19, 2018, 10:05pm
6
Cool. I may look at those, if only out of curiosity.
1 Like