 Your new post is loading...
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
Web scraping is an normally a network constrained task. Most of the execution time is spent waiting for the server to respond.
|
Scooped by
nodejs-code
|
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:
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
Adding different colors and styles to your Node.js console.log outoput...
|
Scooped by
nodejs-code
|
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...
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
This is a short tutorial explaining how to use the debugger that comes built-in to Node.js. It explains how to use the command line debugger to set breakpoints , step through the code, and analyze the debugging output.
|
Scooped by
nodejs-code
|
A tutorial that demonstrates using socket.io in a node.js application hosted on Windows Azure...
|
|
Scooped by
nodejs-code
|
Learn how to create a Node.js Windows Azure Web Site that connects to a MongoDB instance hosted on MongoLab.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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...
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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...
|
Scooped by
nodejs-code
|
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!!!
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
connecting node.js with the mysql database tutorial, mysql with nodejs...
|
Scooped by
nodejs-code
|
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...
|
Scooped by
nodejs-code
|
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.
|
Scooped by
nodejs-code
|
A lot of Node.js projects seem to start with a debate: what to do with node_modules? The two obvious options are: 1. Every machine should “npm install” them from scratch 2. They should be checked-in
|