Nodejs-code
240.5K views | +0 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
May 11, 2012 10:09 PM
Scoop.it!

socket.io – Node.js client to server

socket.io – Node.js client to server | Nodejs-code | Scoop.it

Socket.io is usually employed by browser apps communicating with a Node.js server application. It is however possible to create a client in Node.js if you need to call the same server application. It is also possible for the server to return values by calling a function that the client passes to it.

No comment yet.
Rescooped by nodejs-code from mongodb-node
May 17, 2012 3:55 AM
Scoop.it!

expressjs-blog

"expressjs-blog - ExpressJS sample blog that uses Mongoose, Jade, Stylus and AJAX/jQuery."

No comment yet.
Scooped by nodejs-code
May 16, 2012 8:25 PM
Scoop.it!

Deploying to Nodejitsu

Hurray! I’m ready to deploy CrowdNotes! With that in mind, last night I asked really nicely for and got a
super-exclusive invitation to try out Nodejitsu‘s extended beta.

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

JavaScript inheritance by example

This blog post illustrates several JavaScript inheritance topics via an example: We start with naive implementations of a constructor Point and its sub-constructor ColorPoint and then improve them, step by step.

No comment yet.
Scooped by nodejs-code
May 15, 2012 12:42 PM
Scoop.it!

Getting started with Socket.IO and Node.js

Getting started with Socket.IO and Node.js | Nodejs-code | Scoop.it

Node.js is not the cure for everything, however, it can certainly makes working with Websockets very easy when using the Socket.io library. Using websockets you can easily build realtime applications and even multi-player games. Today I’ll show you how to easily build a simple chat program using Node.js and Socket.io.

No comment yet.
Rescooped by nodejs-code from mongodb-node
May 11, 2012 12:54 PM
Scoop.it!

Node.Js server monitoring, part 2

Node.Js server monitoring, part 2 | Nodejs-code | Scoop.it
Last time we mentioned two fundamental principles while monitoring any object:
1. The monitor should collect as much important information as possible that will allow to accurately evaluate the health state of an object.
2. The monitor should have little to no effect on the activity of the object.
No comment yet.
Scooped by nodejs-code
May 14, 2012 8:48 AM
Scoop.it!

TodosMVC with Backbone.js, Node.js and MongoDB

This demo was written to illustrate how a server-side JavaScript solution could be applied to the TodosMVC application. I used Underscore.js, Backbone.js, Node.js, Express, Jade, Stylus, Mongoose and MongoDB.

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

Page.js by visionmedia

Micro client-side router inspired by the Express router (~1200 bytes)

No comment yet.
Rescooped by nodejs-code from mongodb-node
May 11, 2012 6:52 AM
Scoop.it!

Building Web Apps with MongoDB, Node.js and Angular.js

I became an iPhone developer the moment I realized that the iPhone is not just a pretty and expensive phone; but rather that it is actually a networked Unix machine that fits in your pocket. 

No comment yet.
Scooped by nodejs-code
May 10, 2012 3:23 AM
Scoop.it!

An opinion on...: Scrape webpages with node.js

I recently had the task of scraping data from a website so I choose to use node.js in order to get a bit more experience with it. After checking out a few different options for scraping, I finally settled on the node.io project which provided the most robust handling and configuration features that I could find.

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

PHP script used locally, with HTML 5 interface thanks to WebSocket

PHP script used locally, with HTML 5 interface thanks to WebSocket | Nodejs-code | Scoop.it
To give a native script a HTML 5 interface, we use Node.js, and WebSocket to make best use of data in the interface.
No comment yet.
Scooped by nodejs-code
May 8, 2012 11:02 PM
Scoop.it!

Asynchronous queries to PostgreSql database from the browser with node.js and socket.io

Normally we perform our database connection at server side with PHP and PDO for example. In this post I will show a simple technique to send queries to our database (PostgreSql in this example) ...

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

PouchDB? CouchDB in the browser

I recently started working on the PouchDB project started by @mikeal. While it is still in an early stage things are moving very quickly and I wanted to get the word out about why I think PouchDB is exciting and get some feedback about what will make up the release.

No comment yet.
Scooped by nodejs-code
May 17, 2012 3:52 AM
Scoop.it!

Sticky Notes App in Nodejs using MongoDb

In this example we will see the interactivity between MongoDB and Nodejs. We will create a “Post It” / “Sticky Notes” application in Nodejs and save the data in MongoDb. Ple...
No comment yet.
Scooped by nodejs-code
May 17, 2012 3:51 AM
Scoop.it!

Testing for Continuous Deployment of a Node.JS/MongoDB app to Heroku & MongoLab

Poang (github) is a very basic Node.js/MongoDB app that will run on Heroku & MongoLab. This app demonstrates a few of the ways that we write tests in Node.js for Strider.
No comment yet.
Scooped by nodejs-code
May 13, 2012 11:58 AM
Scoop.it!

Node.js server and Web Sockets on Amazon EC2 with Express.js and Socket.IO

Node.js server and Web Sockets on Amazon EC2 with Express.js and Socket.IO | Nodejs-code | Scoop.it

For testing multiplayer connectivity I set up an Amazon Web Services EC2 micro instance to host a node.js app. This post will cover setting up and installing node.js (working with sudo), npm (working with sudo), a git remote repository with a hook to push changes, HAProxy as a reverse proxy, MongoDB for our database, upstart...

No comment yet.
Scooped by nodejs-code
May 16, 2012 2:27 AM
Scoop.it!

Taking Toddler Steps with Node.js – Passport

Recently I added Twitter authentication to TrackMyRun using a library called Passport. I was pretty impressed how smooth this all went as I completely neglected all security concerns from the get go, which is definitely not recommended by the way.

No comment yet.
Scooped by nodejs-code
May 15, 2012 8:04 AM
Scoop.it!

Using the async node.js library to get twitter content in a parallel

Quick test: setup the node.js to pull the contents from twitter in a parallel, and parse the json data back...

No comment yet.
Scooped by nodejs-code
May 14, 2012 8:51 AM
Scoop.it!

Autocomplete input field with node.js and jquery ui with data fetched via websockets

Over the last weeks I was asked a couple of times how jquery ui autocomplete can work with node.js and now.js websockets. So for all of you looking for an answer to that question, I created some code and published in on github.

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

How To Build A Real-Time Commenting System

How To Build A Real-Time Commenting System | Nodejs-code | Scoop.it

I want to focus on adding real-time commenting to a blog post so let’s start from a template.

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

Stream live WebM video to browser using Node.js and GStreamer

In this post, we’ll stream live WebM video to the browser using just GStreamer and Node.js.

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

Faye: Simple pub/sub messaging for the web

The Node.js version is available through npm. This package contains a copy of the browser client, which is served up by the Faye server when running.

No comment yet.
Scooped by nodejs-code
May 9, 2012 9:56 PM
Scoop.it!

Eloqua API: Eloqua REST API - Getting started with Node.js

In this post, we'll walk through a simple example in Node.js to demonstrate how easy it is to work with Eloqua's REST API.

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

HTML 5 as interface to a local script, with Node.js

HTML 5 as interface to a local script, with Node.js | Nodejs-code | Scoop.it
Node.js can receive form data and send them as parameters to a PHP script on the local desktop.
No comment yet.
Scooped by nodejs-code
May 8, 2012 11:00 PM
Scoop.it!

Node.js - I don't get it

I have read a lot recently about Node.js, and it seems to be the flavor of the week right now.

No comment yet.