July 15, 2014

zip-weather – get weather forecasts via text or phone calls with Twilio

Twilio provides an awesome SMS and telephony service that you can use in web applications. . I’d been wanting to build an application with Twilio for a while now, and finally did it the other day. It’s called zip-weather. The app will respond to text messages and voice calls, prompt you for a location, then provide a weather forecast for that location.

Continue reading

May 19, 2014

Enabling New Relic in a Bluemix node application

I just posted an entry on my personal blog titled "enabling New Relic in a Cloud Foundry node application", which walks through enabling a node.js application with the New Relic monitoring service. As this enablement is generic to Cloud Foundry, it will of course work with Bluemix, and I've enabled one of my Bluemix apps - node-stuff - to make use of it.

Continue reading

May 6, 2014

BlueMix simplified

BlueMix will run your web application. Currently, you can push (upload) your Java EE web (.war, .ear), node.js or ruby app. Have an application you want to try out?

Continue reading

May 1, 2014

node.js stuff at bluemix

Build a little aggregator site, that collected various bits and bobs on using node.js with Bluemix in one place.

Continue reading

April 24, 2014

Enhancing Ghost.js with Cloudant on IBM codename: BlueMix

As a followup to my last post for deploying Ghost.js on IBM codename:BlueMix, I would like to share a follow-up technique which utilizes a Cloudant CouchDB instance as a persistent image datastore.

Continue reading

April 18, 2014

Java EE application with SQLDB, SessionCache and Auto-Scaling services on BlueMix: CloudTrader

CloudTrader is a Java EE application that simulates an online stock trading system. This application enables users to log in, view their portfolio, lookup stock quotes, and buy or sell stock shares. It is built primarily with Java Servlets, JSPs, and JavaBeans. CloudTrader was created by making changes on top of a ten year old DayTrader benchmark application to showcase how you can migrate an existing application to BlueMix and revitalize it with services in Bluemix.

Continue reading

April 7, 2014

EJBs in BlueMix (with JPA: DB2 and MySQL backends) (packaged server)

This article will use a BlueMix JPA Sample Application with a db2 or mysql database driven by either EJBs or Servlets. JPA (Java Persistence Architecture API) is a set of APIs that is used for reading and writing data to databases via Java objects. An EJB (Enterprise Java Bean) is a server side Java object that contains business logic with special qualities of service (collaborators) such as transactions and security. We’ll provide some code snippets for EJBs and JPA, and also explain the packaging required for deploying this type of application to BlueMix.

Continue reading

March 27, 2014

Mad Dash: a Node.js Application Dashboard

As a follow up to my previous blog post, where I showed how to set up a real-time console log web tail for your Node.js application, I will be demonstrating how to use to instrument a web application. This is not meant for production level code, but instead to serve as an example of how a developer could instrument their web application in a few short steps and how they could expand it without much effort.

Continue reading

March 20, 2014

A Live Look: How to Observe Your Node.js Application Logs in Real-Time

In this article, I’ll be demonstrating how you can add a “live” console web tail to your Node.js application hosted on BlueMix in a few easy steps without cluttering up your application code. We’ll be achieving this by overloading the Console object, something you find in almost every javascript program. This is a handy feature for real-time debugging as well as monitoring your running applications. It also serves as a prototype for modifying console statements or adding entirely new console types.

Continue reading