-
Website
http://britg.com -
Original page
http://britg.com/2009/07/01/server-side-javascript-continued-node-js-plus-example/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
jogging double stroller
2 comments · 1 points
-
Web Design Lexington
2 comments · 3 points
-
traviscooper
1 comment · 2 points
-
Ed Kohler
2 comments · 4 points
-
sex toys
1 comment · 1 points
-
-
Popular Threads
-
On Stack Overflow Careers
1 week ago · 2 comments
-
Breakfast Naanwiches
2 weeks ago · 1 comment
-
On Stack Overflow Careers
But a very bad idea to show HTTP example code completely ignoring request verbs. People will copy that :-/ And don't make people join on GET, use PUT to join, DELETE to unjoin.
might like ;), I just started it but contribution would be great, building a framework on node.js is sexxxxy
When I call /join?player=john then
The game lobby has started!
example.js:28: TypeError: Object [object Object] has no method 'respond'
server.respond(200, players);
^
But THANKS for putting this blog post out there. Really exciting!
Best,
John
"example.js:28 ..."
The name of the script, if you used the same copy from the github repo, should be 'gamelobby.js'
Let me know if that helps!
Thanks britg, very fun stuff! I'm planning to build a small comet server using node.js
Best,
John