Siedrix

RSS Twitter

Dibujando colaborativamente

Cappuchino es un framework de javacript que permite hacer aplicaciones tipo desktop y Node.js es una implementacion Server side de javascript para controlar eventos y conecciones. Saikat Chakrabarti de Mockingbird esta buscando crear una herramienta colaborativa en tiempo real para dibujar mock-ups, como parte de sus pruebas acabo realizando este programa usando Node.js y soportando Web Sockets de Socket IO:

the actual interesting parts that are doing anything other than serving static files start with the line “var listener = io.listen…”. On the client-side, I made a very simple Objective-J class that wraps the Socket.IO client called SCSocket (located in client/SCSocket.j). It’s up to you to simply set a delegate on this class and implement any of four methods (see setDelegate: on SCSocket) to handle notifications from the backend. To send notifications to the Node server, simple call [[SCSocket sharedSocket] sendMessage:].

Este es el ejemplo de lo que logro

Chequen el provecto en GitHub.

Este fin de semana estaré tratando de tener Comet corriendo con Node.js sobre V8, espero lograrlo.

No related posts.

Deja tu Opinión

Puedes agregar tags de HTML como: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Post Relacionados

No related posts.