javascript

Using the new OpenWhisk Debugger

If you haven't seen it yet, now's your opportunity to check out OpenWhisk debugger. It allows you to debug OpenWhisk actions on your local machine, in a rich debugging environment, just like you are debugging local code.

Continue reading

Prepping your OpenWhisk code for GA

It’s been an exciting year as advances in serverless computing, and OpenWhisk in particular, have transformed the way that we can build our applications and APIs. Learn how to prep your code for the GA.

Continue reading

Use pure CSS to create “sticky” footers on a web page

Sticky footers are landing developers in, well, sticky situations. We'll teach you how to make the footer of your web page stay at the bottom—even if the page's content area is shorter than the user's browser window.

Continue reading

Reaching Enterprise Backend with Bluemix Secure Gateway via SDK API

This document uses a simple hypothetical scenario in which an educational institution wants to develop a mobile or web application to access on-premises information contained in a MongoDB. The user develops an application that will be pushed into Bluemix and uses the Secure Gateway service to access the database. The application will connect to an on-premises instance of the Secure Gateway client that is running in a Docker image. When the client is connected, it will provide a secure connection from the user’s application to their backend database.

Continue reading

Using the new Bluemix Visual Recognition service in Cordova

Before I begin, a quick disclaimer: I've been at IBM for a grand total of five days. Considering three were taken up by travel and orientation, I'm very much the new kid on the block here. I've only begun to look into MobileFirst and Bluemix, so you should take what I show here with the same confidence you would give anyone using a new technology for two days. In other words - proceed with caution!

Continue reading

NodeCellar on Bluemix: Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB

Node Cellar is a sample Node.js Express application that uses Backbone.js, Twitter Bootstrap, and MongoDB.  This application was written outside of IBM and was not intended to run on Bluemix.  However, with very little change, it will run on Bluemix just fine.

Continue reading

Cross-origin resource sharing for Bluemix APIs

What if you have a decoupled JavaScript based front-end that needs to aggregate information from these other Bluemix apps? By default the browser will forbid access to other subdomains. The solution is to take advantage of the standard HTTP headers that are available to control cross-origin resource sharing (CORS) on the Bluemix services that you wish to provide to JavaScript clients.

Continue reading

Migrating Mobile Cloud client applications from the Beta

If you created a mobile client app that accesses Mobile Cloud services during the Beta, you’ll need to update your app. Many APIs in the Mobile Cloud Services SDK have changed.

Continue reading

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