Getting Ready for Node Knockout
With the Node Knockout event just over the horizon, I thought it would be interesting to show how easy it is to build a really powerful SMS application using Node.js and CouchDB.
(Our sister platform, Tropo, is a sponsor of the event as is CouchBase, makers of the CouchDB software used in this demo.)
If you want to use SMSified in your Node Knockout application, simply sign up for an account (it’s free). Then just install the SMSified Node.js module:
npm install smsified
The screen cast below demonstrates an SMS application that accepts an inbound text message through SMSified and sends a response.
All of the details of the exchange are efficiently logged in CouchDB, including the phone number of the sender, the number sent to, the data time of the message and the result of calling the SMSified API to send an SMS response.
The code for this demo app can be found on GitHub.
Note, you’ll need to have the Node.js cradle module for CouchDB installed for this application to work in your environment. You’ll also need an instance of CouchDB.
This application makes use of the CouchDB _changes API – this is a powerful feature of CouchDB that separates it from other NoSQL databases. You can read more about the _changes API here.
Node.js and CouchDB are a potent combination, and if you want to build an SMS application there is no easier platform to integrate with that SMSified.
SMSified Node.js CouchDB = A Knockout!
©2011 SMSified. All Rights Reserved.
.
©2011 Voxeo Labs. All Rights Reserved.
.
Originally from All Voxeo Blogs Feed


Leave a Reply