Book Image

Learning IBM Bluemix

By : Sreelatha Sankaranarayanan
Book Image

Learning IBM Bluemix

By: Sreelatha Sankaranarayanan

Overview of this book

IBM Bluemix is an open standard platform for building, running, and managing applications on the cloud. With Bluemix, developers can build innovative applications using various compute options and value added services , developers can also manage the application lifecycle using the platform provided DevOps services. Learning IBM Bluemix will take you on a journey from the basics of IBM Bluemix to working with the platform to developing and deploying of modern applications. The sample application use cases employed in the book will introduce you to the transformative nexus of cloud, mobile, and security, all enabled through capabilities provided out-of-the-box by IBM Bluemix. By the end of the book, you will have understood the benefits and use cases for IBM Bluemix, and will possess the skills to further explore the platform and thus develop, deploy, and secure your own innovative, new-age applications.
Table of Contents (16 chapters)
Learning IBM Bluemix
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
2
Building and Deploying Your First Application on IBM Bluemix

OpenWhisk


OpenWhisk is an event-driven compute platform. OpenWhisk allows application developers to write and host application logic agnostic of the infrastructure on which it will run. This application logic is then triggered through events that can come from Bluemix services or other applications or sources. Such application logic are also called as actions. The uniqueness of this compute platform is that it is triggered only when an event occurs, which means that the trigger caused by an event will result in the application on OpenWhisk to be deployed and executed; if no event occurs the application unit does not run and hence does not use any infrastructure resources:

Note

At the time of writing this book, OpenWhisk is in beta. To know the scope for use and support for experimental services, you can refer to http://ibm.co/2dMu4f7 .

You will see the editor, where you can write the application logic or actions. A sample Hello World action written in JavaScript is provided. You can make...