Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using GTK+ with Broadway

I consider to use GTK+ with Broadway backend for development of device control application. Device is with functionality similar to broadband modem/router (I intentionally selected example which is familiar for all :-) ). Device should be controlled remotely via web browser.

My concern is about performance of such control. I'm afraid that Broadway may be a bottleneck. Probably I'm wrong but even in simple pilot I built it looks not so good.

It will be very appreciated to have your inputs based on real experience.

Thanks a lot

like image 240
ivbsd1 Avatar asked Oct 19 '22 04:10

ivbsd1


1 Answers

I've used broadway to deploy gtk+3 apps for multiple projects - usually in cases where the client's desktop is locked down, or people are stuck on Windows. Broadway performs significantly better than VNC or RDP.

There are solutions to the single-user nature of a broadway application. For example, I've developed a partial solution: http://tesla.duckdns.org/transparent-proxy-for-broadway-gtk3-html5-backend/ ... if you want security, you need to implement a login page, cookie setting, and port redirection based on a cookie. The example code is commented as such. I've been meaning to complete all this, but every time I've done it, it's been in a highly custom way for particular clients - not something that I can really open-source.

like image 166
Daniel Kasak Avatar answered Oct 21 '22 07:10

Daniel Kasak