Questions tagged [node.js]
Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine.
511 questions
5
votes
2
answers
4k
views
Using Node.js with Heroku to make a chat server?
I currently have a goal of creating a sort of chat website. I just finished trying with PHP and long polling, which hit a resource limit on my webhost's server. I was told that I should use Node.js ...
22
votes
3
answers
14k
views
How is Node.js different from other server-side frameworks?
I've noticed that Node.js has become very popular, and I've seen several instances of people doing small-scale projects in it.
I've also looked at pros and cons lists to get an idea of what Node.js ...
1
vote
1
answer
968
views
Writing a game engine using javascript
..by this I mean a logic handler for a chess game. Basically validating a move and checking if somebody has won.
Now ignore the complexity of the game(if you can..) I'd like some sort of psuedo code ...
5
votes
5
answers
508
views
What does it mean for software, libraries, and languages to be asynchronous?
With popular software out today like Node.js, Celery, Twisted, and others boasting about being asynchronous, what does it mean?
I've gone through the basic Node.js tutorials and written a few Node....
2
votes
4
answers
704
views
Recommended way to start with Javascript for client- and server-side [closed]
I'm thinking about to switch in middle term to node.js for server-side and mostly jQuery and scriptaculous for client-side web development.
For the scripting I'm planning to use coffeescript.
do you ...
3
votes
2
answers
526
views
Do some interpreted languages only load the scripts once?
The benefit of a compiled application was that all the libraries and classes are loaded one time and sit waiting for input right?
I come from a background working with PHP and the resources/classes ...
43
votes
3
answers
21k
views
Learning Erlang vs learning node.js [closed]
I see a lot of crap online about how Erlang kicks node.js' ass in just about every conceivable category. So I'd like to learn Erlang, and give it a shot, but here's the problem. I'm finding that I ...
6
votes
2
answers
3k
views
Simple, permanent queue system with pub/sub for Node.js?
Highly related https://stackoverflow.com/questions/6021938/nodejs-many-clients-requests-through-one-socket
I'm investigating a robust message passing system for this application of mine. The easyest ...
37
votes
4
answers
8k
views
The importance of Design Patterns with Javascript, NodeJs et al
With Javascript appearing to be the ubiquitous programming language of the web over the next few years, new frameworks popping up every five minutes and event driven programming taking a lead both ...
5
votes
1
answer
2k
views
What are the challenges in building a scalable real-time web app?
I'm looking into real-time web applications using websockets and node.js. I'm interested to see what are some technical challenges with scaling such a setup.
One such problem I've heard is that each ...
2
votes
1
answer
746
views
How is the "evented-io" in node.js any different from the windows event model
I'm wondering how the "evented-io" in node.js any different from the windows async IO model?
Is the callback from node.js executed on a thread, if not, where is it run?
I don't mean to question the ...