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?
[ Parent
| on HN ]
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.