March 12, 2014

the cf-env package for node.js

I've gotten tired of pulling various values from environment variables when I write my node.js apps for BlueMix, so I put together a small package that does most of the work for me. It's called cf-env, and is available in npm.

Continue reading

March 11, 2014

Using IBM.com as Open ID Provider in Node.JS

If you would like to be able to enable user's to login to your app with their ibm.com ID you can follow these simple steps.

Continue reading

February 26, 2014

Deploy a simple “Hello World” server written in JavaScript from the command line

I've put together a small project that implements a web server that you can deploy on BlueMix; it's about as small as you can get, and so, of course, doesn't do much. It displays "Hello World" on every single one of it's pages. So, not useful by itself, but I've tried to document the heck out of it, so you can at least see the nuts and bolts of deploying a node.js web server on BlueMix.

Continue reading

February 17, 2014

Deploy a Drupal Application on IBM BlueMix

Drupal is a free and open-source content management framework written in PHP. It is used as a back-end framework for at least 2.1% of all websites worldwide ranging from personal blogs to corporate, political, and government sites including whitehouse.gov and data.gov.uk. It is also used for knowledge management and business collaborationIn order to have Drupal work on the IBM BlueMix Platform, do the following...

Continue reading

February 17, 2014

Deploy a WordPress Application on IBM Bluemix

WordPress is a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL which runs on a web hosting service. Features include a plug-in architecture and a template system. WordPress is completely customizable and can be used for almost anything. You can use Wordpress as a foundation of your web application to call social data APIs.

Continue reading

February 11, 2014

Develop a REST Service using Play and PostgreSQL on IBM Bluemix: Part One

This post will show how to use the Play framework with IBM BlueMix to develop and run a very simple REST style web application. The application supports APIs to create, retrieve, update and delete objects represented by JSON in HTTP requests. On the backend, the application connects to a BlueMix managed PostgreSQL database to persist and query data parsed out by the application from the HTTP requests.

Continue reading

February 11, 2014

Deploy a Hello World PHP Application to Zend Server on IBM Bluemix

Having covered how to deploy a trivial Node.js application to IBM Bluemix, this post goes deeper into features available for creating reusable manifest.yml files and covers Cloud Foundry buildpacks used during deployment. By the end of the post you will have deployed a trivial Hello World application written in PHP to a Zend Server's PHP container running on IBM Bluemix.

Continue reading

February 7, 2014

Java and DB2 in 10 minutes!

My favorite thing about the BlueMix platform is how quick and easy it is to stand up services and start using them. Let me show you what I mean by outlining a java web application which inserts some data into a DB2 database service. If you’re familiar with creating a servlet, you can do this with me in less than 10 minutes.

Continue reading

February 7, 2014

Cloud Application: Don’t write to disk!

While most of your applications should work just fine in the cloud, remember: Don't write to disk. The file system is a resource that isn't persisted. As you application instance gets restarted, updated, scaled or recreated, the file system it sits on changes. Using the disk for temporary or cache purposes is OK, if you need persistent storage, create a database.

Continue reading