Posted on March 9, 2012


NodeJS is a platform built on Chrome Javascript runtime. The platform is designed for building fast, scalable, data-intensive network applications. The NodeJS website is available at:

The NodeJS server module is written in Javascript and implements the new HTML5 Websocket API.  NodeJS is useful for pushing data from a server unto a client.  The Websocket API adds the new functionality of bi-directional or full duplex communication to the web.

In this implementation NodeJS receives a message from FrontlineSMS (through the keyword function), process the message and sends a reply to FrontlineSMS.

For more information on FrontlineSMS keyword function, a comprehensive setup guide is available online at:

To find out more about NodeJS a comprehensive beginners tutorial is available online at: Also see NodeJS Manual and Documentation:


To install NodeJS, the plugin for the operating system being used must be downloaded, and can be obtained from the project website:

Screenshot of download options from NodeJS website:

Screenshot installing NodeJS:

Screenshot completing install of NodeJS:

Once the package has been installed, Nodejs can be accessed through the terminal by typing the command – node:

$ node
To exit the application, hit CTRL + C twice:
(^C again to quit)
To check the version of Nodejs installed, enter the command:
$ node –version


UPDATED – For developers it might be better to install nodejs through npm as the executable method of install above does not install all the dependencies of node (see post Nodejs OpenFrameworks).

Also see post on and post on websockets:

Nodejs documentation and manual –  [accessed 04-04-2012]

Nodejs community –

Nodejs and socket io fun project updating a widget – till’s blog   –  [accessed 15-04-2012]

(Google search nodejs trigger function –…1207l13096l0l13486l23l21l0l0l0l0l204l1819l15j3j1l19l0.frgbld.)

Mixu’s Node Book – [accessed 16-04-2012]

(Google search – escaping special characters nodejs –…3305l20746l0l21523l36l36l1l16l16l0l127l1766l13j6l19l0.frgbld.)

Nodejs url routing tutorial –’s-write-url-shortener-with-node-js-routing/  [accessed 16-04-2012]

Up and Running with nodejs book preview by author – [accessed 16-04-2012]

Six must have nodejs modules by Nodejitsu – [accessed 15-04-2012]

Nodejs simple push server notification –

(Google search reading xml data nodejs –,or.r_gc.r_pw.r_qf.,cf.osb&fp=4856109797883548&biw=1049&bih=729)

Nodejs http server api –

Nodejs London meetup –