Questions tagged [node.js]
Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine.
511 questions
52
votes
8
answers
14k
views
What are the drawbacks of making a multi-threaded JavaScript runtime implementation? [closed]
I've been working on a multi-threaded JavaScript runtime implementation for the past week. I have a proof of concept made in C++ using JavaScriptCore and boost.
The architecture is simple: when the ...
50
votes
3
answers
7k
views
What is So Unique About Node.js? [closed]
Recently there has been a lot of praise for Node.js. I am not a developer that has had much exposure to network application. From my bare understanding of Nodes.js, its strength is: we have only one ...
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 ...
40
votes
2
answers
53k
views
Is Node.js a framework? [closed]
I keep seeing recruiters, developers, etc. refer to Node.js as a framework. In my opinion, this is out of ignorance for what Node.js really is.
Oftentimes, in job descriptions, Node.js is grouped in ...
40
votes
4
answers
44k
views
Optional dependencies in npm?
I have a similar question to this, but not quite the same.
I would like for the user of my app to install it with whatever dependencies are needed for the way he would want to use it. So, for example,...
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 ...
35
votes
2
answers
33k
views
Methods of separating front and back-end with full stack javascript?
Suppose I have a front-end which is mostly a single-page application written using angular, grunt, and bower. And suppose I have a backend, which is mostly just a REST API sitting on top of an ORM, ...
33
votes
3
answers
34k
views
How to implement a message queue over Redis?
Why Redis for queuing?
I'm under the impression that Redis can make a good candidate for implementing a queueing system. Up until this point we've been using our MySQL database with polling, or ...
29
votes
4
answers
18k
views
What determines which Javascript functions are blocking vs non-blocking?
I have been doing web-based Javascript (vanilla JS, jQuery, Backbone, etc.) for a few years now, and recently I've been doing some work with Node.js. It took me a while to get the hang of "non-...
29
votes
7
answers
8k
views
Is there a good reason to avoid node.js for non-realtime web apps?
I've seen a lot of talk about how awesome Node.js is for realtime web apps -- things that need sockets, Comet, AJAX-heavy communications, and so forth. I know that its event-driven, asynchronous, ...
24
votes
3
answers
8k
views
Novice to node.js, what is the advantage gained using callbacks over events?
I am a novice JavaScripter and have no real knowledge of what goes on inside the V8 engine.
Having said that, I am really enjoying my early forays into the node.js environment but I find that I am ...
24
votes
2
answers
12k
views
We have a large Ruby on Rails application (25 million monthly users), our management decided to rewrite in Node.js, am I crazy?
Please tell me if:
Node.js will make our site faster!
Node.js will consume fewer server resources, we can save money!
Node.js will make us more productive!
Node.js means we can share client and server ...
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 ...
21
votes
3
answers
11k
views
Does Node.js actually increase scalability?
I've been reading about the C10K Problem, and of particular note is the part that refers to asynchronous server I/O. http://www.kegel.com/c10k.html#aio
I believe this pretty much summarises what Node....
18
votes
3
answers
30k
views
Certifications for Javascript developers? [closed]
I'm looking for a solid and but fast paced entry in field of javascript development.
The following topics come to my mind:
Javascript advanced concepts, OOP
jQuery, jQuery-UI, jQuery-Mobile
backbone....