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

2013-10-21 Thread Eric Reynolds
if you ever get time it'd be great if you could put your library on npm! i'd be very curious to try out the technique. On Friday, 18 October 2013 14:48:47 UTC+2, David Goehrig wrote: > > > > > On Oct 18, 2013, at 3:18 AM, Eric Reynolds > > > > wrote: > > > > That sounds great, I am just wonder

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 > 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 Keyboard, Mouse, Touchpa

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

2013-10-18 Thread Eric Reynolds
Thanks for the link. That guy's done a lot of work on his canvas library, but it seems like overkill to me. After all you're recreating a widget library, which you already get for free with HTML, not to mention the endless HTML/CSS/Javascript components available on the web. Redoing everything

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

2013-10-18 Thread Angel Java Lopez
Hi! Loosely related, the other day I found: http://www.codeproject.com/Articles/410856/Canvas-Control-Library-and-New-Forms-Based-System https://github.com/akshaysrin/CanvasControlLibrary On Fri, Oct 18, 2013 at 4:18 AM, Eric Reynolds wrote: > That sounds great, I am just wondering though, tha

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

2013-10-18 Thread Eric Reynolds
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? How do you do the code caching and hot fixing? Have you packaged your code into a module on npm? Eric. On Thursday, 17 October 2013 18:53:25

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 vide

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

2013-10-17 Thread Eric Reynolds
In the last few days I have been experimenting with a new project I have called browsy . I am posting here because, being a node.js novice, I'd like to find out whether my idea is wrong, and why, or if actually it would generate some interest. So the concept is