Node.js is a server side software system designed for writing scalable Internet applications, notably web servers.

learn more… | top users | synonyms (1)

31
votes
5answers
20k views

Understanding node.js: some real-life examples

As a curious web developer I've been hearing about node.js for several months and (just) now I'd like to learn it and, most of all, understand its "engine". So, as a real newbie about node.js I'm ...
28
votes
4answers
3k 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 ...
26
votes
3answers
1k views

What is So Unique About Node.js?

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 ...
20
votes
5answers
5k views

What are the pros and cons of Node.js?

I'm designing a web application that is locally focused on JSON objects to do all the data stuff (and after that I would pass it to a server to cloud synchronize). However, somebody in an answer from ...
19
votes
3answers
5k 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 ...
18
votes
2answers
3k 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 ...
15
votes
2answers
4k 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 ...
14
votes
4answers
1k 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, ...
13
votes
5answers
2k views

What are deferred callbacks?

I understand the idea of a callback, where I pass a function into another function and that function then uses the supplied function at will. I am struggling to understand deferred callbacks, even ...
12
votes
3answers
2k 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 ...
12
votes
8answers
858 views

What do you use for JavaScript Testing (TDD)?

What do you use for JavaScript testing both server-side and client-side?
9
votes
2answers
6k views

Use-cases for node.js and c#

I do quite a bit of ASP.NET work (C#, MVC), but most of it is typical web development. I do Restful architecture using CRUD repositories. Most of my clients don't have a lot of advanced requirements ...
9
votes
2answers
5k views

A good IDE for NodeJS - debugging especially important [closed]

Have a significant amount of a Data Warehousing application written in Javascript. The application is set up so that the Javascript code runs in a web browser (Chrome). Of course, running a Data ...
9
votes
3answers
872 views

How to write manageable code with functional programming?

I just started with functional programming (with JavaScript and Node.js) and from the look of things it looks as if the code I am writing would grow to be one hell of a code base to manage, when ...
8
votes
5answers
660 views

Would I benefit changing from PHP to Node.js (in context)

The situation: We are about to roll out what is essentially a logging service. As we are rather PHP heavy, the current implementation use it. We will have about 200 computers (most on the same ...
7
votes
3answers
489 views

Significance and role of Node.js in Web development

I have read that Node.js is a server-side javascript enviroment. This has put few thought and tinkers in my mind. Can we develop a complete data-drivent web application utilizing just JavaScript ...
6
votes
5answers
316 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 ...
5
votes
2answers
1k 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 ...
5
votes
2answers
544 views

Implementing Scheduling Within an Application

I'm building an app and the end user will be using an Admin screen to schedule content on the front page. They will be choosing two dates, a start date and an end date. Obviously I don't want to ...
5
votes
1answer
2k views

How to deal with asynchronous functions when you really just want things synchronized

I am fairly new to NodeJS and I'm having a hard time wrapping my head around the asynchronous nature of functions when I really want one call to follow the other in a synchronized way. Say for ...
5
votes
1answer
657 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 ...
5
votes
1answer
363 views

Node.JS testing with Jasmine, databases, and pre-existing code

I've recently built the start of a core system which is likely going turn into a monster product. I'm building the system with node.js, and decided after I got a small base built, that It'd be a ...
4
votes
1answer
311 views

How to write reusable code in node.js

I am trying to understand how to design node.js applications, but it seems there is something I can't grasp about asynchronous programming. Let's say my application needs to access a database. In a ...
4
votes
1answer
569 views

iOS and Server: OAuth strategy

I'm trying to working how to handle authentication when I have iOS clients accessing a Node.js server and want to use services such as Google, Facebook etc to provide basic authentication for my ...
4
votes
1answer
730 views

Node.js Or servlets?

I have heard a lot and read about the Javascript server side language i.e Node.js, and saw many comparisons in favor of Node. I don't understand what makes it better or faster, or how it even relates ...
4
votes
1answer
206 views

How much overhead is there in persistent connections?

Ok so I'm musing over a little side project I want to start. Essentially its a multi-session web based FTP client. Multi-session in that you can log into several FTP servers at the same time and ...
4
votes
2answers
991 views

Simple, permanent queue system with pub/sub for Node.js?

Highly related Nodejs: many clients requests through one socket I'm investigating a robust message passing system for this application of mine. The easyest solution would be Redis pub/sub (it's ...
4
votes
1answer
188 views

Optimization of a Hybrid Pagination Scheme

I'm working on a Web Application using node.js in which I'm building a partial copy of the database on the client-side to decrease the load on my server. Right now, I have a function like this ...
3
votes
3answers
244 views

Feedback on this back-end stack

I'm planning to setup an scalable architecture capable of providing web services on a REST interface where JSON will be sent as a result. The web services will be quite simple for a CRUD web 2.0 app. ...
3
votes
4answers
418 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 ...

1 2 3
15 30 50 per page