chicken 630 Posted June 10, 2016 Share Posted June 10, 2016 Here's a tutorial on programming a graphical UI in Google Chrome to display data received over serial http://www.lucadentella.it/en/2016/06/07/chrome-app-e-comunicazione-seriale/ via Dangerous Prototypes. I meant looking into this topic for a long time. For serial communication like in this tutorial, but also USB for a portable upgrade application via a custom USB BSL implementation. tripwire, pine, cubeberg and 4 others 7 Quote Link to post Share on other sites
yyrkoon 250 Posted June 11, 2016 Share Posted June 11, 2016 Here's a tutorial on programming a graphical UI in Google Chrome to display data received over serial http://www.lucadentella.it/en/2016/06/07/chrome-app-e-comunicazione-seriale/ via Dangerous Prototypes. I meant looking into this topic for a long time. For serial communication like in this tutorial, but also USB for a portable upgrade application via a custom USB BSL implementation. That looks similar to Nodejs although more complex Quote Link to post Share on other sites
chicken 630 Posted June 11, 2016 Author Share Posted June 11, 2016 That looks similar to Nodejs although more complex The main advantage is, that this will work for everyone that has Google Chrome. No need to install additional environments like nodejs, python etc., which is a huge benefit if you try to minimize hand-holding for potential users of your application. yyrkoon 1 Quote Link to post Share on other sites
yyrkoon 250 Posted June 11, 2016 Share Posted June 11, 2016 The main advantage is, that this will work for everyone that has Google Chrome. No need to install additional environments like nodejs, python etc., which is a huge benefit if you try to minimize hand-holding for potential users of your application. The disadvantage for me, and others like me is that I / we do not use Chrome. But If this were to be written in javascript using Nodejs it would work in any browser. There are also Nodejs "compilers" out there that will convert Nodejs code into a native binary. With that said however, like you say you would need to setup a run-time environment, first. Plus I think Chrome apps and Nodejs are really apples to oranges. Or server versus client if you prefer. Quote Link to post Share on other sites
chicken 630 Posted June 11, 2016 Author Share Posted June 11, 2016 I'm as much of a Google-avoider as there is. But I'm happy to use it as a framework for desktop apps. Quote Link to post Share on other sites
yyrkoon 250 Posted June 11, 2016 Share Posted June 11, 2016 I'm not necessarily avoiding google. I'm just using firefox now days. I prefer firefox's plugin ecosystem. But all browsers are bad in some way, now days . . . Quote Link to post Share on other sites
yyrkoon 250 Posted June 11, 2016 Share Posted June 11, 2016 @@chicken I just noticed your location . . . you're not working for the other big brother are you ? hehe pine 1 Quote Link to post Share on other sites
chicken 630 Posted June 12, 2016 Author Share Posted June 12, 2016 @@yyrkoon LOL Nope. pine 1 Quote Link to post Share on other sites
OpalApps 0 Posted June 13, 2016 Share Posted June 13, 2016 Hello, my two cents here: I do agree with @@yyrkoon - you just conform with HTTP protocol and you are both browser and platform independent. Python, Nodejs - does not really meter. As for: With that said however, like you say you would need to setup a run-time environment, first. I think a good installer should fix that (if we are talking a commercial-scale/quality deployment process/experience). I have been using "Inno Setup" for rather exotic stuff to deploy (only on Windows-based machines only, though). It worked like charm. Cross-platform installer generators are around too, as far as I know. Regards Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.