44
HYBRID MOBILE DEV WITH IBM MOBILEFIRST By / Raymond Camden @raymondcamden

Hybrid Mobile Development and MobileFirst

Embed Size (px)

Citation preview

Page 1: Hybrid Mobile Development and MobileFirst

HYBRID MOBILE DEVWITH IBM

MOBILEFIRSTBy / Raymond Camden @raymondcamden

Page 2: Hybrid Mobile Development and MobileFirst

WHO AM I?Raymond CamdenDeveloper Advocate for IBMSign up for Bluemix here:ibm.biz/BluemixATXBlogging at raymondcamden.comTweeting at @raymondcamden

Page 3: Hybrid Mobile Development and MobileFirst

AGENDAWhat in the heck is MobileFirst?What is hybrid mobile dev? (quick overview)What is hybrid mobile dev like in MobileFirst 7.1

Page 4: Hybrid Mobile Development and MobileFirst
Page 5: Hybrid Mobile Development and MobileFirst
Page 6: Hybrid Mobile Development and MobileFirst
Page 7: Hybrid Mobile Development and MobileFirst

FYI - 7.1I'm using 7.1, which is not yet released (as of today), but will

be very, very soon.

Page 8: Hybrid Mobile Development and MobileFirst

MOBILEFIRST

Page 9: Hybrid Mobile Development and MobileFirst

MOBILEFIRSTSupports mobile appsMobile web, hybrid, nativeCLI to work with projectsServer

Page 10: Hybrid Mobile Development and MobileFirst
Page 11: Hybrid Mobile Development and MobileFirst
Page 12: Hybrid Mobile Development and MobileFirst

FEATURESService ProxiesPush notificationsVersion managementSecurityAnalyticsTesting (IBM MobileFirst Platform Test Workbench)App Store (Enterprise-y)

Page 13: Hybrid Mobile Development and MobileFirst

MORE FEATURESClient-side utilities

Some examples:Get available wifi pointsGeography stuff (distance to...)Talking to a native class

Logging framework

Page 14: Hybrid Mobile Development and MobileFirst

PARTSMobileFirst StudioCLIServerWeb console and analytics tool

Page 15: Hybrid Mobile Development and MobileFirst

EDITIONS/HOW TO USE ITIBM MobileFirst Platform Foundation Developer EditionIBM MobileFirst Platform FoundationA few other fancy versions we don't need to worry abouttoday

Page 16: Hybrid Mobile Development and MobileFirst

SUPPORTED OSWindowsLinuxMacAIX, Solaris

Page 17: Hybrid Mobile Development and MobileFirst

INSTALLATIONSo yeah, as of today, I can't share a web page, but pretend Idid, and it had links to download the installer. Or I can show

the Bluemix version, if available. In the meantime, look atthe picture below.

Page 18: Hybrid Mobile Development and MobileFirst

Product Link: http://www.ibm.com/mobilefirst/us/en/

Page 19: Hybrid Mobile Development and MobileFirst

Product Link: http://www.ibm.com/cloud-computing/bluemix/

Page 20: Hybrid Mobile Development and MobileFirst

To be clear, everything I'm showing is free for you to playwith.

Page 21: Hybrid Mobile Development and MobileFirst

Pretend I downloaded the installer, double clicked, andinstalled it. Trust me, you don't want to watch me do that.

Page 22: Hybrid Mobile Development and MobileFirst

WORKING WITH THE CLICreate a server (one time!)Start the serverCreate a hybrid MFP appWrite code and iterate

Page 23: Hybrid Mobile Development and MobileFirst

CREATING AND STARTING THESERVER

mfp create servernamemfp start

Page 24: Hybrid Mobile Development and MobileFirst

DEMO

Page 25: Hybrid Mobile Development and MobileFirst

DO YOU KNOW WHAT HYBRID APPSARE?

Page 26: Hybrid Mobile Development and MobileFirst

Essentially a native wrapper around a web browser. YourHTML/JS/CSS handles layout, interactivity, etc and the

wrapper provides a hook to native capabilities.

Page 27: Hybrid Mobile Development and MobileFirst
Page 28: Hybrid Mobile Development and MobileFirst

BASIC INFOcordova.apache.orgFree, open source, vibrant communityEasy to use CLIPlugins for everything and a plugin api for everything else

Page 29: Hybrid Mobile Development and MobileFirst

http://www.manning.com/camden

Page 30: Hybrid Mobile Development and MobileFirst

CREATING A HYBRID APPmfp cordova create

Page 31: Hybrid Mobile Development and MobileFirst

DEMO

Page 32: Hybrid Mobile Development and MobileFirst

WORKING WITH HYBRID APPSmfp cordova *

Page 33: Hybrid Mobile Development and MobileFirst

DEMO

Page 34: Hybrid Mobile Development and MobileFirst

BACK TO SERVERmfp pushmfp console

Page 35: Hybrid Mobile Development and MobileFirst

DEMO

Page 36: Hybrid Mobile Development and MobileFirst

CLIENT-SIDE APIBasically - "extended" featuresLoggingGet WiFi pointsCall native functionalityMore...WL.* API

Page 37: Hybrid Mobile Development and MobileFirst

DEMO

Page 38: Hybrid Mobile Development and MobileFirst

ADAPTERSGlue between your mobile app and stuffServer-specificJava or JavaScript (reminder...)Setup via Studio or CLI

Page 39: Hybrid Mobile Development and MobileFirst

ADAPTERS - TYPESHTTPSQLCast Iron, Java, JMS, SAP JCo, SAP

Page 40: Hybrid Mobile Development and MobileFirst

CREATING ADAPTERSmfp adapter add //createmfp push //push and deploy changesmfp adapter call //testmfp adapter call adapter/procedure '["arg"]' //passing an arg

Page 41: Hybrid Mobile Development and MobileFirst

DEMO

Page 42: Hybrid Mobile Development and MobileFirst

MORE STUFF

Page 43: Hybrid Mobile Development and MobileFirst

APPLICATIONMESSAGES

Page 44: Hybrid Mobile Development and MobileFirst

MOBILE BROWSERSIMULATOR