Nodejs: Using Connect’s BasicAuth with Express

Connect is a middleware framework for Nodejs and is used in several projects like Express. Today I’ll show you a very simple way to use the BasicAuth capabilities of Connect inside of an Express application. You might also want to check out my previous post on using Connect with Express.

Continue reading

Posted in JavaScript, Node.js | Leave a comment

Node.js: Using Connect with Express

Connect is a middleware framework for Nodejs and is used in several projects like Express. Today I’ll show you a simple example of how to use some of the Connect bundled middleware in an Express application.

Continue reading

Posted in JavaScript, Node.js | 1 Comment

Converting ATOM XML to JSON using Node.js

I was reading an article that had some code to convert XML to JSON using Node.js and node-xml2js. The code they used was very simple and since I deal with ATOM XML a lot I wanted to know how well it would work with converting ATOM to JSON.

Continue reading

Posted in JavaScript, Node.js | Leave a comment

A simple Node.js web application that uses Mongoose, Express and MongoDB and returns JSON

Today I’m going to show you how to build a simple application that uses Nodejs, Mongoose, Express and MongoDB that will persist some data and get it back. It will also have a simple configuration file so I can configure my routes in Express. For those that don’t know, Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment and Express is a Sinatra inspired web development framework for node.js.

Continue reading

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

Creating a simple Activity Stream with Apache Abdera2, Java, and Netbeans 7 (with Maven)

The Apache Abdera team is hard at work on Abdera2. Abdera2 has a bunch of new features, check out this email by James Snell to get a sample of whats new and improved. One of the new features is Activity Streams support. If your not familiar with Activity Streams visit the main site to get an idea but suffice to say if you know how the Facebook Wall works and looks then you get the basic idea of what an activity stream is. Today I’m going to show you how to build a simple activity stream with Netbeans 7 and Apache Abdera2.

Continue reading

Posted in Apache Abdera, Java, Netbeans | Leave a comment

Installing Node.js version 0.6.3 and NPM on Ubuntu 11.10

Today I’ll show you how to install nodejs on Ubuntu 11.10. Please keep in mind you can also install node using apt-get but you will get an older version.

Continue reading

Posted in Uncategorized | 10 Comments

Build a REST service with Netbeans 7, Java, and Jersey that returns JSON

One of the great things about Jersey is that it makes working with REST really easy. If your new to Jersey and REST then you can check out my previous article that shows you to easily build a simple REST service. Today I’m going to use Netbeans 7 (with its built-in Maven support) to build another simple REST service that can easily return JSON (with the help of JAXB).

Continue reading

Posted in Apache Tomcat, Java, REST | 2 Comments

Book Review: Learning jQuery (Third Edition)

Today I’m going to review the ebook version of Learning jQuery (third edition) published by PackT Publishing and authored by Jonathan Chaffer and Karl Swedberg.

Continue reading

Posted in JavaScript, Reviews | Leave a comment

Building a REST service that collects HTML form data using Netbeans, Jersey, Apache Tomcat and Java

The Jersey project is very well documented so it makes it easy to learn REST with Java. In this article I’m going to build two projects. The first project will be a very simple HTML page that presents a form to the user and then submits it to a REST project residing on the same server. The second project will be the REST part.

Continue reading

Posted in Apache Tomcat, Java, Netbeans, REST | 2 Comments

Getting started with Atomic and Atomic-AR (a project using jQuery Mobile) for Atom Hopper

Last month I introduced a new open source ATOM Pub server called: Atom Hopper (source code available on GitHub). I did a small demo of Atom Hopper and had to quickly build a user interface to show off what exactly Atom Hopper did (not everyone is familiar with ATOM) in a visual way since Atom Hopper is a back end server. Today I’ll show you how you can take what I’ve initially built and use it for yourself.

Continue reading

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