Top Banner
Live on the Edge of Innova0on with IBM Bluemix Niklas Heidloff, IBM Developer Advocate for IBM Bluemix @nheidloff heidloff.net
22

Live on the Edge of Innovation with IBM Bluemix

Apr 08, 2017

Download

Software

Niklas Heidloff
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Live on the Edge of Innovation with IBM Bluemix

LiveontheEdgeofInnova0onwithIBMBluemixNiklasHeidloff,[email protected]

Page 2: Live on the Edge of Innovation with IBM Bluemix

IBMBluemix•  The Digital Innovation Platform • Cloud Foundry, Docker, OpenWhisk • More than 100 services •  Public, dedicated and local • Hybrid applications and cognitive services

•  Focus today: How to build Line of Business applications

#engageug@nheidloff

Page 3: Live on the Edge of Innovation with IBM Bluemix

Collabora0veLineofBusinessApplica0ons•  LoB requirements often lead to the development of new

applications since standard software is not sufficient • Collaborative applications allow employees to work

together synergistically to get their jobs done • Collaborative LoB applications often require the protection

of intellectual property based on roles of employees

•  Sample scenarios: Approval workflows, teamrooms, travel expenses

#engageug@nheidloff

Page 4: Live on the Edge of Innovation with IBM Bluemix

RequirementsofLoBApplica0ons• Rapid application development

•  Toenableci0zendeveloperstobuildLoBapplica0ons•  Toenableinnova0on

•  Focus on business needs rather than infrastructure •  Leveragecloudapplica0onplaLorms•  U0lizeDevOps

• Cost efficient hosting

#engageug@nheidloff

Page 5: Live on the Edge of Innovation with IBM Bluemix

RequirementsofLoBApplica0ons•  Access to applications via web and mobile user

experiences •  Integration of existing data, documents and files •  Integration of existing directories and user profiles • Usage of modern and popular technologies to leverage

communities, libraries and tools • Usage of standard and most common development skills

•  Scrip0ngiseasierthanlanguageslikeCandJava•  Preferenceistouseonelanguageforeverything

#engageug@nheidloff

Page 6: Live on the Edge of Innovation with IBM Bluemix

TheCLEANStack

Cloudant Loopback Express

AngularJS Ionic, Cordova

Node.js

JavaScript everywhere Bluemix

#engageug@nheidloff

Page 7: Live on the Edge of Innovation with IBM Bluemix

SampleScenario:ApprovalRequests

#engageug@nheidloff

Page 8: Live on the Edge of Innovation with IBM Bluemix

Demo:UserInterfacesandAPIs

#engageug@nheidloff

Page 9: Live on the Edge of Innovation with IBM Bluemix

BusinessObjectsandRESTAPIs• Declarative definitions of business objects

•  Automatic generation of REST APIs •  IncludingAPIdocumenta0on

#engageug@nheidloff

Loopback

Swagger

Cloudant

Page 10: Live on the Edge of Innovation with IBM Bluemix

Demo:Crea0onofBusinessObjects

#engageug@nheidloff

Page 11: Live on the Edge of Innovation with IBM Bluemix

Customiza0onofthegeneratedAPIs•  Scenarios

•  Addaddi0onalAPIs•  Hidemethodsandendpoints•  Execu0onhooksforCRUDopera0ons

•  Turn off auto generation for models

#engageug@nheidloff

Loopback

Node

Page 12: Live on the Edge of Innovation with IBM Bluemix

Customiza0onofthegeneratedAPIs

Page 13: Live on the Edge of Innovation with IBM Bluemix

Authen0ca0onagainstBluemix•  Single Sign On service on Bluemix allows

authentication with on-premises directories via SAML

#engageug@nheidloff

Loopback

Bluemix

Page 14: Live on the Edge of Innovation with IBM Bluemix

Authoriza0on•  Authorization via roles

•  Application level authorization is done declaratively

•  Business object level authorization is done programmatically

#engageug@nheidloff

Loopback

Node

Page 15: Live on the Edge of Innovation with IBM Bluemix

Authoriza0on

#engageug@nheidloff

Page 16: Live on the Edge of Innovation with IBM Bluemix

Demo:Authoriza0on

#engageug@nheidloff

Page 17: Live on the Edge of Innovation with IBM Bluemix

Deployment•  Bluemix compute technologies

•  CloudFoundry•  Docker

• Deployment options •  DeploybuVon•  CLIs•  GitpushandDevOps

#engageug@nheidloff

Bluemix

Docker

Cloud Foundry

Page 18: Live on the Edge of Innovation with IBM Bluemix
Page 19: Live on the Edge of Innovation with IBM Bluemix

DevelopmentEnvironment•  Local environment

•  Node.js,texteditor,inspector•  LocalpropertyfilewithBluemixcreden0als•  Inmemorydatabase

• DevOps web editor

#engageug@nheidloff

Node

Page 20: Live on the Edge of Innovation with IBM Bluemix

WebClient•  LoopBack generates JavaScript libraries

to access the services from AngularJS controllers

#engageug@nheidloff

AngularJS

LoopBack

Page 21: Live on the Edge of Innovation with IBM Bluemix

MobileClients•  Via Cordova mobile hybrid apps can be

generated for iOS and Android

•  LoopBack generates JavaScript libraries to access the services from AngularJS controllers

•  The controllers are the same ones as used for the web client

#engageug@nheidloff

Ionic

Cordova

AngularJS

Page 22: Live on the Edge of Innovation with IBM Bluemix

Tryit!

•  https://github.com/ibm-bluemix/collaboration

#engageug@nheidloff