3 ms·
The reason isn't a flaw in technology, because many alternatives to electron do in fact offer markup language like GUI creation and css/html like styling includ
by Barrin92 8y ago
The reason isn't a flaw in technology, because many alternatives to electron do in fact offer markup language like GUI creation and css/html like styling including Qt with its QML offshoot, or JavafX.
Not to mention that I don't see any obvious reason why HTML would be easier to use than the WPF / Swing / Glade Gui-builder paradigm. As a not web-developer, I certainly have less issues building a Gui the good old fashioned way than having to learn HTML.
It honestly baffles me that anyone would consider HTML to be a good fit for a complex desktop application. I am actually very glad that I can drag buttons on a canvas and click on elements to understand their apis and adjust settings visually. I am not excited about building complex gui's by interacting with plain text that was designed to put text on webpages.
The reason why Electron has dominated has a much more trivial reason. There are a lot of web developers, and the javascript ecosystem is so large that it allows the quick reuse of a lot of code, saving those developers a lot of time.
- 21 8y ago> many alternatives to electron do in fact offer markup language like GUI creation and css/html like styling including Qt with its QML offshoot, or JavafX. > Not to mention that I don't see any obvious reason why HTML would be easier to use than the WPF Can I use Vue.js or React over QML? That's a point many people miss. You think of HTML/JavaScript as the thing from 10 years ago that maybe you played with in school. Vue.js/React is to HTML/CSS what WPF is to raw Win32 GUI programming.
- qwerty456127 8y ago> Can I use Vue.js or React over QML? That's a point many people miss. You think of HTML/JavaScript as the thing from 10 years ago that maybe you played with in school. I'm not the author of the commend above but I actually do. > Vue.js/React is to HTML/CSS what WPF is to raw Win32 GUI programming Good explanation if it's true, thanks. > Can I use Vue.js or React over QML? That's a point many people miss. Does modern QML really lack facilities that solve the same problems with comparable ease?
- nitrogen 8y agoWhat problem does React solve for GUIs that isn't an artifact of shoehorning UI design into a document markup language? UI systems like Qt and Swing have had the concept of a component tree with independently replaceable and renderable subtrees for 20 years or more.