News for hackers. Stuff that matters.
Re:Fbs: Create Linux GUIs with Qt in minutes by Barrin92 on Thursday December 13, 2018 @06:48PM (#18677211)
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.

Re:Fbs: Create Linux GUIs with Qt in minutes by 21 on Thursday December 13, 2018 @09:00PM (#18677814)
> 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.

Re:Fbs: Create Linux GUIs with Qt in minutes by nitrogen on Thursday December 13, 2018 @10:31PM (#18678223)
What 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.

Re:Fbs: Create Linux GUIs with Qt in minutes by qwerty456127 on Thursday December 13, 2018 @09:55PM (#18678079)
> 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?