How to make a simple desktop app using JavaScript?

Dear participants of the Toaster, I work as a programmer for several years. Desktop applications made a very long Swing. Now I understand that this last century, we faced the need to make a simple desktop app. With buttons, pictures, etc. to Study JavaFX for me is not the best idea. Heard a lot about the various JS solutions. When I studied the language several years ago he left a good impression. But that was then. Have already appeared React, Angular, Vue.js, Typescript, etc. As I understand it, due to such things as Electron and Proton has become possible to write JS on the desktop. I am not groping in the front is easy to get lost. If you have experience tell me how it will be easier to make cross-platform desktop application in JS. It is desirable of course to be with minimal effort then to move to the web.
April 3rd 20 at 17:18
7 answers
April 3rd 20 at 17:20
It will be easier in a familiar language to use, such as QT binding than from scratch to deal with the layout and js under the electron.
By the way about qt. For outsiders (like me) who like monkeys over a banana run after js has nodegui (for react). There the author is porting qt to js.
PS. the first link in Google on the github project. - Horace.Beer87 commented on April 3rd 20 at 17:23
You make a good point of course, but that's in the jungle do not want to climb. Maybe I should think about JavaFX. - diamond.Boyer commented on April 3rd 20 at 17:26
@diamond.Boyer, See the desktop app no matter what language has only 1 advantage. It is integrated with the system in the field of file access and not clamped part of interface and security.

The electron, and Java its rattles as part of crossplatforming. Hello world works, but then begin the crutches.

So make TK and have him make a start. Note that to work with files, you can even through a web page. However through a browser interface, but still. The result is just HTML. Which can read, save, load, edit table. All that I have described is already there, did the customer of the estimated system to be downloaded to Excel calculations for the profiles. - albert commented on April 3rd 20 at 17:29
April 3rd 20 at 17:22

It is desirable of course to be with minimal effort then to move to the web.


Make regular site on anything, make out to it the Manifesto of the PWA and can be installed as a regular application on the desktop. It takesure scripts in the service worker-and I've tried to download.
Electron is not needed.

Here, for example, the official website of the Angular meets the requirements of PWA and can be installed
5def8b9db9bbc873815458.png
April 3rd 20 at 17:24
What the app will do?
And the technology is secondary.
Simple CRUD operations - diamond.Boyer commented on April 3rd 20 at 17:27
Use VUE + webpack, and Firebase.
In the end, will have a page run locally.
You can really use indexdb https://proglib.io/p/indexeddb-guide/
did not need the Internet connection.
Also why a desktop?
What desktop do you want? - albert commented on April 3rd 20 at 17:30
April 3rd 20 at 17:26
There is a wonderful framework, about which all have forgotten.
Electron
Frankly it guano. 120 megabytes of runtime, which give interferences in the system are not updated and all in order to start a page on the desktop, older versions of the browser which is ALREADY in the system.

It is better to put NET Core (50 MB but will the integration with the system, and do not accidentally carry the system when the uninstallation) - albert commented on April 3rd 20 at 17:29
@albert, I will Not argue, but he enjoys no small popularity.
And it's easy to take the first steps, because everything is on a conventional layout and js is done. For a couple of hours, you can make a simple app. And besides, it made the vs code. I think that for something not very complicated or large, it will be the. - aditya.Koc commented on April 3rd 20 at 17:32
April 3rd 20 at 17:28
HTA or PWA help?
April 3rd 20 at 17:30
April 3rd 20 at 17:32
A desktop application in JS it's better to start doing with books on C#. A lot of time and nerves themselves and their potential users will save.
Can consider Dart/Flutter. There is also very easy to do cross-platform desktop application.

Find more questions by tags JavaScript