|
Page 1 of 1 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
Posted: Wed, 11th Oct 2017 17:24 Post subject: desktop gui programming |
|
 |
So I wanted an actual GUI for my calibration tool for quite a while now. My jupyter notebook 'workflow' was ridiculous.
But I have never gotten over hello world examples of GUIs before. They always seem tedious, joyless and full of boilerplate code.
Since I need to control the process over network, jupyter made some sense. And so did react.js, coupled with mobx as it was super easy to build this. And the data points are fucking animated when they change thanks to html and css
I have a couple of problems with this though.
1. My client, after I open the browser is run entirely on the client side, meaning I needed an additional server app to control measurements anyway (which I didnt for jupyter). I guess this could can be solved via server side rendering however that works, maybe?
2. I used starter scripts to get this app running, but the stack I use now is opaque to me, probably making a transition to server side rendering difficult to me
3. A GUI running in a browser for local use seems insane to me
Is there a nice alternative for me using python?
Initially checked the rust programming language and I'd like to use it, but its gui situation appears dire for now.
I could probably rework my jupyter usage significantly so that it makes more sense, though I think I would prefer a normal UI.
Any suggestions whatsoever?
|
|
Back to top |
|
 |
|
Posted: Wed, 11th Oct 2017 17:39 Post subject: |
|
 |
Nah man, don't worry about running your local server that you connect to against. GUI rendering on the server side? Is this 1970 all over again?
Even Quake 1 starts a local server which you connect against as client
Rendering should happen on client side and is the only way you'll have a nice user experience.
BTW you can always package your web app to run in a webkit container so that you have an exe file that you execute (which then starts a frameless browser window) 
|
|
Back to top |
|
 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
Posted: Wed, 11th Oct 2017 18:31 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Thu, 12th Oct 2017 00:42 Post subject: |
|
 |
Take a look at http://www.meteor.com (I'm eating right now, so I won't go into more detail, I need my hands! )
|
|
Back to top |
|
 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
Posted: Thu, 12th Oct 2017 01:53 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Thu, 12th Oct 2017 02:03 Post subject: |
|
 |
Almost done eating 
|
|
Back to top |
|
 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
|
Back to top |
|
 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
Posted: Sat, 21st Oct 2017 16:55 Post subject: |
|
 |
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|