Nodejs-code
240.5K views | +1 today
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
June 12, 2012 11:04 AM
Scoop.it!

A Simple Website in Node.js with Express, Jade and Stylus

A Simple Website in Node.js with Express, Jade and Stylus | Nodejs-code | Scoop.it

Do you feel like you've missed the boat on Node? Perhaps you're not a superstar web app developer, but a humble builder of websites.

No comment yet.
Scooped by nodejs-code
June 11, 2012 10:14 PM
Scoop.it!

Paging through an ATOM feed using Node.js, CoffeeScript, MongoDB and Atom Hopper

I work daily with Atom Hopper which is a Java ATOMPub server. As we add new features we need to test those features and a lot of times we end up with small scripts just like the one I’ll show you today.

No comment yet.
Scooped by nodejs-code
June 10, 2012 10:08 PM
Scoop.it!

Getting Started with Node JS and Redis on Mac

This weekend I’ve been hacking away on a new project and learning some new technologies in the process.

No comment yet.
Scooped by nodejs-code
June 4, 2012 5:08 AM
Scoop.it!

Arduino and the Web using NodeJS and SerialPort2

Arduino and the Web using NodeJS and SerialPort2 | Nodejs-code | Scoop.it
This article focuses on how to listen for signals from an Arduino through the Serial Port (Linux, Mac) or COM Port for Windows using the SerialPort2 Node.JS module and serve signal data to the web in real time using Socket.IO.; Author: Bangon Kali;...
No comment yet.
Scooped by nodejs-code
June 7, 2012 11:31 PM
Scoop.it!

Pumping Data Between Streams in Node.js

And for this post we’ll be talking about a fairly common scenario when developing applications with Node.js, namely reading data from one stream and sending it to another stream. Suppose we want to develop a simple web application that reads a particular file from disk and send it to the browser. The following code shows a very simple and naïve implementation in order to make this happen.
No comment yet.
Scooped by nodejs-code
June 6, 2012 5:16 AM
Scoop.it!

Asynchronous Code Design with Node.js

The asynchronous event-driven I/O of Node.js is currently evaluated by many enterprises as a high-performance alternative to the traditional synchronous I/O of multi-threaded enterprise application server.
No comment yet.
Scooped by nodejs-code
June 6, 2012 3:11 AM
Scoop.it!

Web scraping with Node.js

Web scraping these days is often considered a fairly well understood craft, however there are definitely some complexities that modern web sites are bringing to the table. The days of AJAX long pol...
No comment yet.
Scooped by nodejs-code
June 4, 2012 5:07 AM
Scoop.it!

Express.js Tutorial

In this tutorial I will run you through the process setting up an Express.js app and making it do what a basic website might do. You will learn the basics of routes, views, Jade templates, Stylus CSS engine, handling POST and GET requests.
No comment yet.
Scooped by nodejs-code
May 29, 2012 11:45 AM
Scoop.it!

Real-time Collaborative drawing: Node, Socket.io & PaperJs

Real-time Collaborative drawing: Node, Socket.io & PaperJs | Nodejs-code | Scoop.it
Recently I’ve spent a little time playing with 3 really exciting technologies: nodejs, websockets via socket.io and HTML5 Canvas via paper.js. The result is very crude, but could probably be described...
No comment yet.
Scooped by nodejs-code
May 28, 2012 10:05 PM
Scoop.it!

NodeJS & CouchDB, memory leaks

NodeJS & CouchDB, memory leaks | Nodejs-code | Scoop.it

This post talks about a problem that I’m facing right now with NodeJS & CouchDB. Actually, I should say “with NodeJS & cradle” or “with NodeJS & felix-couchdb” because CouchDB is not really the problem here.

jihem's comment May 29, 2012 11:03 AM
In the browser, I tried jscouch (very nice for explaining map/reduce concepts), see: http://blog.mudynamics.com/wp-content/uploads/2009/04/icouch.html. In production, I prefere to use a framework like AgilityJS (http://agilityjs.com). Between browser and server I use ajax/socket.io/jsnow for MVM (Model-View-Mapper). In the browser I use a scripts or framewrok for MVC (Model-View-Controler). In fact, my node.js server produce JSON streams I can embed in a Web page or a native mobile application.
nodejs-code's comment, May 29, 2012 11:10 AM
That sounds nice. Could you put this up on a blog. It would make for interesting discussion.
jihem's comment May 31, 2012 10:14 AM
I'm building a website (whizkids.fr) on my spare time. See http://www.whizkids.fr/adb/retr/201205311532001_NodeJS-CouchDB/NodeJS-CouchDB.pdf... I would like to translate everything in english... but am I really doing good stuffs ?
Scooped by nodejs-code
May 6, 2012 10:04 PM
Scoop.it!

An innovative way to replace AJAX and JSONP using node.js and socket.io

An innovative way to replace AJAX and JSONP using node.js and socket.io | Nodejs-code | Scoop.it
I was so happy the first time I used socket.io, seeing how fast, reliable and easy to use it is, that when I started doing XHRs I felt that something was wrong. Current State of the Art implies using...
No comment yet.
Scooped by nodejs-code
May 29, 2012 3:07 AM
Scoop.it!

nano - minimalistic CouchDB client for nodejs

After doing development for a while some obvious patterns started to emerge, as well as some code duplication. So the idea of nano was born: Build the minimal abstraction possible that allows you to use CouchDB from nodejs while preserving stream#pipe capabilities.

 

No comment yet.
Scooped by nodejs-code
May 26, 2012 4:11 AM
Scoop.it!

Using nodejs event streams and leafletjs to display geotagged tweets on a world map

Using nodejs event streams and leafletjs to display geotagged tweets on a world map | Nodejs-code | Scoop.it
I thought it would be cool to see tweets come in live using the Twitter Streaming API querying with location.  When there is a location bounding box, all tweets that come in have geocoordinates (though a small fraction are null).
No comment yet.
Scooped by nodejs-code
June 11, 2012 3:19 AM
Scoop.it!

Creating an Economic Dashboard Using OpenShift PaaS, Node.js, and Google Charts (Part I)

Creating an Economic Dashboard Using OpenShift PaaS, Node.js, and Google Charts (Part I) | Nodejs-code | Scoop.it
Hi and welcome to yet another programming blog. This blog is going to be my repository for technical how to’s for my own record and if it helps someone else along the way, then great. This post d...
No comment yet.
Scooped by nodejs-code
June 10, 2012 10:07 PM
Scoop.it!

Securing Node.js and Express with SSL Client-Authentication

Securing Node.js and Express with SSL Client-Authentication | Nodejs-code | Scoop.it

In the course of my work using Node.js, I did some research on implementing securing Node.js. There are a couple of decent articles on the subject, and of course a number of frameworks that performed this work, but nothing I read or evaluated really quite fit my needs:

No comment yet.
Scooped by nodejs-code
June 10, 2012 10:08 PM
Scoop.it!

NodeJS + OAuth + Handlebars + Socket.IO + Twitter

Well, this is a demo app showing the interaction between a NodeJS application and the browser on different ways: Twitter (OAuth) and Sockets (Socket.IO).

No comment yet.
Scooped by nodejs-code
June 8, 2012 11:09 PM
Scoop.it!

Diagnosing Connection Leaks in Node.js and Postgres

In building a website scraper with Chrome and Node.js, I made mistakes that led to connection leaks. In this application, the scraper runs in a browser and connects to a node.js server, which saves data off to a database.

No comment yet.
Scooped by nodejs-code
June 4, 2012 8:29 AM
Scoop.it!

Explaining JavaScript VMs in JavaScript

Explaining JavaScript VMs in JavaScript | Nodejs-code | Scoop.it
I have a thing for virtual machines that are implemented in the language (or a subset of the language) they are built to execute. If I were in the academia or just had a little bit more free time I...
No comment yet.
Scooped by nodejs-code
June 1, 2012 11:07 PM
Scoop.it!

The Benefits of WebSocket

The Benefits of WebSocket | Nodejs-code | Scoop.it

Lately there has been a lot of buzz around HTML5 Web Sockets, which defines a full-duplex communication channel that operates through a single socket over the Web. HTML5 Web Sockets is not just another incremental enhancement to conventional HTTP communications; it represents a colossal advance, especially for real-time, event-driven web applications.

No comment yet.
Scooped by nodejs-code
June 4, 2012 11:20 PM
Scoop.it!

Building a Login System in Node.js and MongoDB

Building a Login System in Node.js and MongoDB | Nodejs-code | Scoop.it

This past week I finally got around to playing with Node.js and am really impressed with how simple it was to get a server and database up and running in literally minutes.

No comment yet.
Scooped by nodejs-code
June 4, 2012 5:01 AM
Scoop.it!

CSRF with NodeJS and Express

I’ve been trying to dig into how to handle the common OWASP web security threats with NodeJS + Express and was hitting my head against the wall on getting the Connect CSRF middleware working correctly with Express.

No comment yet.
Scooped by nodejs-code
June 1, 2012 5:01 AM
Scoop.it!

Running Nginx and Node.js in parallel on Ubuntu

How to run Nginx and Node.js in parallel on Ubuntu...
No comment yet.
Scooped by nodejs-code
May 31, 2012 10:58 AM
Scoop.it!

Socket.io 0.7 – Sending messages to individual clients

I’m writing an iPhone app right now using PhoneGap and jQuery Mobile on the phone, and node.js and socket.io on an Amazon EC2 server, and I hit a wall when I started using Socket.io.

No comment yet.
Scooped by nodejs-code
May 29, 2012 6:35 AM
Scoop.it!

Your first node.js module

Making modular and reusable code is something we should all be doing to keep the quality of it up to par. A very simple way to make reusable modules of code in node.js is to create generalized modules (no pun intended).

No comment yet.
Scooped by nodejs-code
May 28, 2012 9:47 AM
Scoop.it!

Call REST API with node.js

Node.js is really cool. Based on Google V8 JavaScript engine allows to write the server side in JavaScript. The great benefits on that are: you can manipulate natively JSON, write in the same langu...
No comment yet.