4 ms·
Ryan Dahl's node.js chat server
- chrismealy 15y agoThanks! This is cool. I didn't know socket.io was that simple.
- ipd 15y agoI like the old school JS in the source, no jquery needed.
- tlrobinson 15y agoIt's sad that it's considered "old school" because it doesn't use jQuery.
- Apocryphon 15y agoI haven't seen any examples of Node paired with jQuery. Do most people just use vanilla JS with Node?
- Sidnicious 15y agoIt's more that demos by JavaScript programmers tend not to use jQuery — I think it's a pride thing: “I'm not going to load this huge JavaScript library to support this ten-line demo, and I'll look classier for it.” jQuery doesn't much care what web server you’re using, and it (or similar) is bound to turn up in any project of significant size or browser compatibility.
- erik_p 15y agoI think you use what works best for your problem set taking into account your expertise. I'm using (no demo available yet) nodejs, express, socket.io, and yQuery together. There's a jQuery wrapper out there for use with node, I think. jQuery makes my life easier on the display side, but I can see how if I had real-deal-holyfield javascript chops I'd gravitate to DIY or some slimmer framework.
- flitzwald 15y agoI guess, this has taken "minimum viable" to the next level.
- ssebro 15y agoI think it's more like "minimum visible"
- erik_p 15y agois this the source? https://github.com/ry/node_chat https://github.com/ry/node_chat it's been up for a while as demo/example, or am I confused. Deja Vu post.