How to Build a Basic Cloud Foundry Application

By |Categories: Best Practices, Cloud Migration, How to|Tags: , |

In this blog series, we will develop a small web application that runs in the IBM Cloud. We will be using an old fashion way called rapid application development and an old framework called Plack, a Perl-based web service.

The purpose is twofold.  It demonstrates that traditional style environments can be used to build cloud applications and it also allows us to build a proof of concept in virtually no time.

Let’s get our hands dirty…

Hello world

So here is your basic application that does the usual.

#! /usr/bin/perl

use Plack::Builder;
use Plack::Response;
use strict;

sub main {
my $env