Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-18 Thread David Goehrig
On Oct 18, 2013, at 3:18 AM, Eric Reynolds eric.remo.reyno...@gmail.com wrote: That sounds great, I am just wondering though, that would require you to redevelop a library of widgets to be able to set up a GUI, so why not use HTML? I actually do. I have a set of classes which model

Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-17 Thread David Goehrig
I do something similar, but rather than the DOM, I use canvas and the only bit of frontend is the code to open the websocket and compile and run each drawing function sent by the server. Once a drawing function is compiled on the client side, it is cached and reused. All image, sound, and