r/getaether • • Jul 08 '15

Contributing to Aether: three main opportunities and problems to solve

http://blog.getaether.net/post/123519579982/contributing-to-aether-three-main-opportunities
22 Upvotes

23 comments sorted by

View all comments

Show parent comment

3

u/LifeIsSoSweet Jul 08 '15

Honestly, the real question to ask is why would you use html pages for your UI if you force the user to install an exe. The whole point of html was to avoid installing an exe. So if you do that anyway, better take advantage of the featureset you get from having a full app. It would mean you no longer need to switch menus and back to refresh content (like a board).

3

u/[deleted] Jul 08 '15

I think the boards not refreshing is because it's still a work in progress rather than a web limitation.

exe right now provides a tray icon and a single executable for distribution.

2

u/LifeIsSoSweet Jul 08 '15

The exe internally uses html pages (you can find them separately on your filesystem). So the exe is essentially playing a very simple webbrowser.

Updating content on the current page, for example a new reply gets added or new votes are being made, doesn't seem to happen on my machine without actually refreshing the entire page.

This is traditionally one of the main differences between an application and a webapp. These simple things become incredibly hard to do.

1

u/aether___ Jul 13 '15

Yeah, though no autorefresh could be done easily on the web.

The reason why the UI is web is that it's portable, really. I do release this on Windows, Linux and Mac. If I were to only do native UI, I would be able to do only one of those. So it's a tradeoff.

1

u/LifeIsSoSweet Jul 13 '15

Since you already use Qt, you can use various of the technologies it ships to make it completely cross platform you write only once. Webkit and html have some downsides that most others don't have.

So if portable is the reason, I suggest QML. Either with components (native widgets for native look&feel) or just pure QML which would allow the current UI to be created in a matter of hours but have all the needed features for a much more rich and interactive UI.

1

u/K0il Jul 15 '15

Using webkit has a lot of upsides that most UI libraries don't have - namely that it's an HTML/CSS/js stack that will have massive amounts of documentation online, moreso than any other UI library, I would wager.