Serverless Try/Catch/Finally with IBM Composer

It's been a few weeks since I blogged about IBM Composer, sorry about that, flying to China and getting a kid will put a kink into your blogging schedule. ;) Today I want to share a simple demo of how to wrap serverless functions with try/catch and try/catch/finally logic. Let's start off with a simple function. function main(args) { if(!args.input) args.input = 0; if(args.input === 0) { throw new Error("Can't divide by zero and maintain the Universe.

Read more

Update to my Vue.js INeedIt Demo

A few days ago I shared a simple Vue.js demo for an app called INeedIt. While not a terribly a complex application, it was something fun to build just to get some practice with Vue. Before I shared that post, I let my friend Ted Patrick take a look at the code and he had some feedback I thought would be nice to incorporate into a second version. I've made his suggested changes and I thought I'd quickly review them here.

Read more

Two Quick OpenWhisk/IBM Cloud Functions Updates

It's going to be a slow holiday week for me but I thought I'd share two interesting updates to OpenWhisk/IBM Cloud Functions that will be useful to developers. As a reminder, the wsk CLI does not prompt you to update when it is out of date. Read my guide for help on how to check and update your CLI. Ok, so what changed? CRON Details for Triggers The first change isn't huge, but is real useful for me.

Read more

Another Vue.js Demo - INeedIt

Ok, so ditto my previous warnings about being new to Vue.js and how my code is probably crap, blah blah blah. You get the idea. I'm learning. I'm sharing. Expect the code not to be perfect. Let's move on! I began with mobile development using Flex Mobile many, many years ago. I can remember getting a free phone at Adobe MAX (I think that was the year where we also got a Google TV) and downloading the Flex SDK that night in the hotel.

Read more

Working with Routes in Vue.js

Warning - as I've made clear, I'm in the process of learning Vue.js. I want to share as I learn, but obviously, I'm still very new to it and you should not consider my code 'best practice', or heck, even 'experienced practice'. I full expect there are better ways of doing what I describe below, but I hope that sharing my learning process is helpful for others as well.

Read more

A Great Tutorial for Webpack

Every now and then I'll blog something that I've been discussing on Twitter as a way to help those who have somehow managed to avoid becoming a Twitter user. (And trust me, you're probably better off for it.) For some time now I've been hearing about Webpack, and I've had the opportunity to meet the creator (Sean Larkin) at a few events. However, I've not had much luck actually learning it.

Read more

Read My (Free) Book on Apache OpenWhisk

I am very happy to announce that my new book, "Developing Serverless Applications - A Practical Introduction with Apache OpenWhisk." I believe that may win the prize for the most "wordy" title of any book I've written. The best part is the price - 100% free. All you need to do is hop over to a signup form, register, and you'll get a copy of the PDF. It's a short book aimed at getting you up and running with serverless and OpenWhisk and will cover the basics of action creating, sequences, and making APIs.

Read more

My NCDevCon Progressive Web App Talk

A few weeks ago I gave my first talk on progressive web apps (PWAs) at NCDevCon. I'm really happy they accepted my submission since it forced me to finally sit down and begin wrapping my head around the core concepts. While I certainly don't think I'm an expert yet, I think I gave a decent talk that focused on the practical aspects of PWAs and what's actually involved when creating them.

Read more

OOO

Just a quick note that I'm going to be OOO (Out of Office) for an extended period. My response times to emails will be quite a bit slower and I probably won't be blogging. Things will return to normal in 2 weeks. Normally I let social media know about my blog posts to help drive traffic, but obviously there's no real reason to do that for this one. However, if you are a regular reader who comes here just to see what's new, do me a favor and say hi below.

Read more

Calling Multiple Serverless Actions and Retaining Values with IBM Composer

Forgive the incredibly long title, but I wasn't quite happy with the shorter versions. As I've mentioned before, IBM Composer supports multiple different "compositions", or "logic doohickies" (I work for IBM Marketing, honest), as a way to add conditional logic and branching to a serverless application. In this post, I'm going to share an example of the "Retain" composition. Before I start though, I want to give a shout out to Olivier Tardieu.

Read more