News for hackers. Stuff that matters.
Re:Ryan Dahl's node.js chat server by ipd on Thursday April 28, 2011 @01:38PM (#2494220)
I like the old school JS in the source, no jquery needed.
Re:Ryan Dahl's node.js chat server by tlrobinson on Thursday April 28, 2011 @01:43PM (#2494235)
It's sad that it's considered "old school" because it doesn't use jQuery.
Re:Ryan Dahl's node.js chat server by Apocryphon on Thursday April 28, 2011 @02:09PM (#2494363)
I haven't seen any examples of Node paired with jQuery. Do most people just use vanilla JS with Node?
Re:Ryan Dahl's node.js chat server by erik_p on Thursday April 28, 2011 @02:26PM (#2494451)
I 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.
Re:Ryan Dahl's node.js chat server by Sidnicious on Thursday April 28, 2011 @02:18PM (#2494416)
It'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.