News for hackers. Stuff that matters.
Re:Effective use of Node.js and Socket.io for building a HTM... by kodablah on Friday March 16, 2012 @01:55PM (#3714429)
If you want to make this easy, use https://github.com/socketstream/socketstream. Great progress is being made on the 0.3 version and it makes pub/sub broadcasting and message pushing very easy. You wouldn't be the first person to make a live multiplayer HTML5 game with it: https://github.com/alz/socketracer.
Re:Effective use of Node.js and Socket.io for building a HTM... by dinedal on Friday March 16, 2012 @11:21AM (#3713649)
Buried source as a mediafire link? Author needs to learn about github.

Code itself is pretty difficult to read and quickly pasted together, but otherwise a decent example on how to tie the technologies involved together.

Re:Effective use of Node.js and Socket.io for building a HTM... by egdelwonk on Friday March 16, 2012 @12:04PM (#3713855)
Check out now.js (http://nowjs.com/) as well, makes it really easy to make realtime apps
Re:Effective use of Node.js and Socket.io for building a HTM... by pyrotechnick on Friday March 16, 2012 @08:23AM (#3712979)
To install socket.io you need only execute `npm install socket.io`

This installs socket.io from the npm registry (there is no need to download/extract the zip).

Re:Effective use of Node.js and Socket.io for building a HTM... by latch on Friday March 16, 2012 @09:35AM (#3713209)
-g if you want to make it globally accessible.
Re:Effective use of Node.js and Socket.io for building a HTM... by majke on Friday March 16, 2012 @10:19AM (#3713400)
Yeah, but there is not much value in installing socket.io globally, as you can't require() it. It makes sense only for executables like coffee-script

http://npmjs.org/doc/faq.html#I-installed-something-globally...

Re:Effective use of Node.js and Socket.io for building a HTM... by ecto on Friday March 16, 2012 @02:13PM (#3714517)
You can definitely require() modules after installing them globally.

https://github.com/joyent/node/blob/master/lib/module.js