Category Archives: JavaScript

Getting started with Restify using Node.js and CoffeeScript

Today I’ll do a couple quick demos on using Restify with Node.js and CoffeeScript. According to the Restify website, “Restify is a Node.js module built specifically to enable you to build correct REST web services”.

Posted in CoffeeScript, JavaScript, Node.js, Open Source | 2 Comments

Using the HTTP HEAD request method with Node.js and CoffeeScript

Your probably familiar with with HTTP methods such as GET, POST, PUT, DELETE, etc. however there are several others including HEAD. HEAD allows you to contact a server and receive only the headers back – no body. This can be … Continue reading

Posted in CoffeeScript, JavaScript, Node.js, Online Games | Leave a comment

Tutorial: Working with SockJS, CoffeeScript and Node.js

I recently did a blog post on Socket.IO. Today I’ll go over an alternative called SockJS. According to the SockJS website: “SockJS is a browser JavaScript library that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API … Continue reading

Posted in CoffeeScript, JavaScript, Node.js, Open Source | 1 Comment

CoffeeScript: 10 tips with examples to increase your productivity

CoffeeScript for those that might not know is a language that compiles into JavaScript. Today I’m going to go over ten things that will help you when working with CoffeeScript.

Posted in CoffeeScript, JavaScript | Leave a comment

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 … Continue reading

Posted in Atom Hopper, CoffeeScript, JavaScript, Node.js, Open Source | Leave a comment

CoffeeScript: The five minute guide to Classes

CoffeeScript is a language that compiles into JavaScript. Once you try CoffeeScript it is very hard to resist not using it for any kind of JavaScript project especially those that use Node.js. Today I’m going to quickly go over how … Continue reading

Posted in CoffeeScript, JavaScript | 1 Comment

The speed race is on: Vert.x and Node.js

Vert.x and Node.js are similar in some ways, and different in others. One such difference is that Node.js only allows you to write code in JavaScript whereas Vert.x allows you to code in Java, Groovy, JavaScript, Ruby and eventually as … Continue reading

Posted in Java, JavaScript, Node.js, Open Source, Vertx | 5 Comments

Getting started with Socket.IO and Node.js

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 … Continue reading

Posted in JavaScript, Node.js, Open Source | 5 Comments

Posting a new ATOM entry to Atom Hopper using Node.js

Previously I blogged about how you can use Apache Abdera to post ATOM entries to an AtomPub server like Atom Hopper. Today I’ll show you how to do something similar but with Node.js.

Posted in Atom Hopper, JavaScript, Node.js, Open Source | Comments Off

Build a clustered ATOM server with Node.js

From the Node.js documentation: A single instance of Node runs in a single thread. To take advantage of multi-core systems the user will sometimes want to launch a cluster of Node processes to handle the load. Today I’ll show you … Continue reading

Posted in JavaScript, Node.js | 1 Comment