Nodejs-code
226.7K views | +14 today
Follow
Nodejs-code
The best resources of the Node.js universe
Curated by nodejs-code
Your new post is loading...
Your new post is loading...
Scooped by nodejs-code
Scoop.it!

Limiting Concurrency in Node.js

Lets say you are writing your new awesome web application in Node.js, because you know, Node.js is the new hotness and awesome.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Common JavaScript Errors

With the rise of thick client-side applications, and Node.js, JavaScript has become an increasingly important programming language.
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Windows Azure Node.js Tutorials - Web site with MongoDB on MongoLab

Windows Azure Node.js Tutorials - Web site with MongoDB on MongoLab | Nodejs-code | Scoop.it
Learn how to create a Node.js Windows Azure Web Site that connects to a MongoDB instance hosted on MongoLab.
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Hosting Node.js on Rackspace

In this tutorial we will complete the Node.js “HelloWorld” exercise. I will use a CentOS 6.3 Cloud Server in the Rackspace DFW datacenter for this post.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Backbone.js apps with Authentication Tutorial

Backbone.js apps with Authentication Tutorial | Nodejs-code | Scoop.it
At my current company I am working on my first large-scale production backbone.js app and I couldn't be happier. After using backbone.js for a...
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Review of OpenShift Node.js Support

Review of OpenShift Node.js Support | Nodejs-code | Scoop.it

I recently worked with a bunch of guys from Red Hat’s OpenShift PaaS “Platform as a Service” to get a blog post published over there.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Locally test your npm modules without publishing them to npmjs.org

There could be several situations where you want to locally deploy an npm module of your own before publishing it to npmjs.org.
Say you’ve just created one and want to see how it deploys, or you’re...
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Getting Node.js and Cron to play nice(ly)

So, you’ve written a bang up, killer node.js script that tweets your facepage, instasmacks your flickr and makes your coffee, but you need it to run every hour, or you won’t get retweets of lomo-bird-toasty looking coffee mugs pictures from your friends… What to do!!!

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Node.js: Style and structure

I'm about to start a new Node.js project with a team and thought this might be a good opportunity to put together a few tips on working with Node. This is not a style guide in the usual sense; I'm assuming you already have your opinions on JavaScript indentation and all the other religious standpoints, so I'm going to focus on some Node specifics I find essential.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Routing - express-examples/sqlite

When you install express it adds routes inside app.js, I'm not really comfortable with that because this file for me must be only for app configuration, and things like routes, which changes a lot, should be configured in other place.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Behavior Driven Development – Node.js

Testing with Node.Js – An Introduction – I A test code typically consists of the following parts: a. Test Suite (TS) – In software development, a test suite, less commonly known a...
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

The 2 minute guide to creating a new module in CoffeeScript for Node.js

Using modules in Node.js is an everyday task for most Node programmers. Today I’ll show you how to quickly create a class using CoffeeScript and to make it exportable into a Node.js project.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Password Authentication with Mongoose and bcrypt

This post is Part 1 of a series on implementing username/password authentication for your Mongoose user models. In this first installment, we will discuss how to implement one-way encryption of user passwords with bcrypt, and how to subsequently use the encrypted password for login verification.
more...
Göran Svensson's curator insight, September 17, 2013 10:03 PM

Great post! I would probably implement it with pbkdf2 and use 

https://github.com/ElmerZhang/ezcrypto based on Crypto JS. 

Scooped by nodejs-code
Scoop.it!

Node.js Messaging Server (Part 3)

Node.js Messaging Server (Part 3) | Nodejs-code | Scoop.it

Part 2 was introduction to Node.js and Socket.io. In this Part we will develop Twitter like functionality using Node.js and Socket.io to load new messages without requesting or pooling the server. I have given enough introduction to what we are going to develop in this part. Those who want to review can read the third paragraph from Part 2.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Working with Events in Node.js using EventEmitter

The EventEmitter class in Node.js is pretty easy to work with when it comes to triggering custom events in your projects. Today I’m going to show you a simple demo project to fetch the contents of a website and then use custom events to notify the client when it’s done.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Mapping County Health Rankings: Mapnik, Node.js and PostgreSQL

Mapping County Health Rankings: Mapnik, Node.js and PostgreSQL | Nodejs-code | Scoop.it

The third launch of County Health Rankings has been the most exciting out of any of the three due to the mapping component that serves as the primary way to access the rankings.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

The HTTP.SYS stack for node.js apps on Windows

The basic idea is to replace the HTTP stack built into node.js with HTTP.SYS while preserving the shape and behavior of HTTP APIs in node.js to the extent possible.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Data mining local radio with Node.js

Web scraping is an normally a network constrained task. Most of the execution time is spent waiting for the server to respond.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Use Heroku, MongoLab and Node.js and mongo node-mongodb-native

So I am trying out MongoLab for their database, and it uses a connection string, where in the node native drivers examples they instantiate a new Server() instance. I got it to work with the connection string, so I thought I would share:

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Inversion of Control and Dependency Injection with Broadway

Inversion of Control and Dependency Injection with Broadway | Nodejs-code | Scoop.it

Over the last few months I've been using flatiron and by extension broadway. I like broadway a lot, so I'd like to take this opportunity to explain how it works and why you should be using it.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Mobile Backend as a Service Roundup and the Future of Web APIs

Mobile Backend as a Service Roundup and the Future of Web APIs | Nodejs-code | Scoop.it

I’m continuing my research into the future of web APis, and after watching leading Mobile Backend as a Service (MBaaS) provider Kinvey start building APIs into their platform, I think MBaaS providers show a lot of potential for providing developers with quick access to API resources.

more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Using MongoDB and Node.js with Express-Resource to create a REST service

A while back I had a problem I was trying solve. I was using node.js with express-resource to create a REST (ish) web service and return data from mongodb. My app looked something like this: app.js...
more...
No comment yet.
Scooped by nodejs-code
Scoop.it!

Let’s Make a Drawing Game with Node.js

Let’s Make a Drawing Game with Node.js | Nodejs-code | Scoop.it
Today we will be making a multiplayer online drawing game with node.js. Users will be able to draw on the page and see everyone else who's doing the same in real time.
more...
No comment yet.