Author Archives: Chad Lung

Tutorial: Embedded JavaScript templates (EJS) and Node.js

There are several ways to create web applications with Node.js. One popular way is to use Jade. Today, I’ll show you how to use EJS (Embedded JavaScript templates) with Node.js to create a simple web application. If you’ve used PHP … Continue reading

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

An easy tutorial on using callbacks in Node.js

In a previous post I showed you how to use the EventEmitter to give a notification when a webpage had been downloaded (or ran into an error). Today I’ll show you the same project but using a callback instead.

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

A quick guide to JavaScript classes and inheritance

Today I’m going to go over how to create classes in JavaScript and how to work with inheritance. The first thing to confess is that JavaScript doesn’t actually have classes (please keep this in mind as I mention class in … Continue reading

Posted in JavaScript, Node.js | Leave a comment

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

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

Performing content-negotiation with Express 3 and Node.js (examples in CoffeeScript and JavaScript)

Express version 3 introduces a nice feature that performs content-negotiation on the request accept header field when present. This makes it easy to respond to a client request with the requested format. In this article I’ll show you how to … Continue reading

Posted in JavaScript, Node.js | 1 Comment

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.

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

Getting started with OpenStack using the free Rackspace Private Cloud software

Getting started with OpenStack just got a lot easier today with Rackspace’s announcement of the private cloud software. Today I’ll go over your options to get started with OpenStack. Keep in mind this software is offered free and is open … Continue reading

Posted in Open Source, OpenStack | Leave a comment

Finding specific ATOM categories using Atom Nuke and Java

This is the third article I’ve written now on the new Atom Nuke framework. Today I’m going to go over turning ATOM feeds and entries into selectable events. This is built into Nuke via the EPS, or Event Processing System. … Continue reading

Posted in Atom Hopper, AtomNuke, Java, Open Source | Leave a comment

Create an ATOM feed with Atom Nuke, NetBeans 7.2 and Java

I’ve been blogging on Atom Nuke which is a collection of utilities built on a simple and fast ATOM implementation. Check out my previous post on creating a simple ATOM feed crawler. Today I’ll show you another feature which is … Continue reading

Posted in AtomNuke, Java, Netbeans, Open Source | Leave a comment

Building a simple ATOM crawler with Atom Nuke, Netbeans 7.2 and Java

Atom Nuke is a new project created by John Hopper who incidentally is also the creator of Atom Hopper and Repose. Atom Nuke, or “Nuke” as we call it is a collection of utilities built on a simple and fast … Continue reading

Posted in Atom Hopper, AtomNuke, Java, Netbeans, Open Source | 1 Comment