The document provides an overview of IBM's Mobile Foundation services including Bluemix Mobile Services, OpenWhisk, and Server-Side Swift. It discusses using these services to build event-driven mobile apps. Specific use cases are presented, such as using OpenWhisk, Push Notifications, and Mobile Analytics to send app crash reports to admins or using OpenWhisk and Push Notifications for alerts. A travel app example is also described that leverages various IBM cloud services.
2. Agenda
2 4/5/2017
• Overview of IBM Bluemix
Mobile ecosystem.
• Developer Experience
• Overview of OpenWhisk
• OpenWhisk Swift Actions +
Mobile
• Use Cases
4. Use the IBM Bluemix App ID
service to add authentication to
your mobile and web apps and
protect your back-end systems.
4 4/5/2017
App ID
5. - Rest APIs
• Provides a unified push service to send real-time
notifications to mobile and web applications.
• The service provides the ability to personalize and
send notifications to a segment of users, single user
or broadcast to all users.
Client SDKs & Server SDKs
- Android, iOS, Cordova and Web Client SDKs and
Server SDKs for sending notifications - Java, Node
JS and Swift
5 4/5/2017
Supported
Platforms
Push Notifications
6. 6 4/5/2017
Mobile Analytics Service
• Mobile app developers and business stakeholders: Use IBM Mobile Analytics for
Bluemix to gain insight into how your app is performing and how it is being used.
• Monitor performance and usage of all your applications from your desktop or tablet
without creating queries or engaging a data analyst.
• Quickly identify trends and anomalies, drill down to resolve issues, and trigger alerts
when key metrics cross critical thresholds.
• Report data directly from your app or connect through MobileFirst Platform
Foundation server.
7. 7 4/5/2017
Mobile Foundation
• The Mobile Foundation service is powered by the market-leading IBM MobileFirst
Foundation Platform.
• This service radically simplifies building, managing, and updating your mobile app with a
pre-integrated, comprehensive set of mobile application services.
• Build your app by using the front-end framework and tools of your choice.
• Easily add comprehensive security, app lifecycle management, and a back-end logic
engine.
• Push and offline sync to your apps by using the cross-platform software developer kit (SDK).
8. 8 4/5/2017
Mobile Application Content Manager
• IBM Mobile Application Content Manager enables a mobile project team to engage app users
with personal and contextual content in the mobile moment.
• Easy to work with –
• both existing and new apps Deliver persuasive, targeted and contextual content without IT
Comprehensive content management with ease of use
• Effective customer engagement with mobile context
10. We just introduced The Bluemix Developer
Console. Extending the current Bluemix
Mobile Dashboard, this new experience goes
beyond mobile and introduces new tools for
quickly creating Cloud Native applications
across web, mobile and backend. They aim
to greatly cut down on development time by
generating application starters with all the
necessary boilerplate, build and configuration
code, so that developers can start coding
business logic faster.
Bluemix Developer Console
Ideate and prototype your app with no code, use a low-code
approach to build you app
13. Project
Generation
Bluemix Developer Console
Value for Bluemix developers
Bluemix
DevCLI
Bluemix Developer Console
1. Starts with…
Bluemix
Codes …
Check in to…
App
DevOps
Open Toolchains
Github
Kicks off…
Builds & Deploys…
Developer
Calls …
Generates …
Source Code
IDE
Orion, VSCode, Atom, Xcode…
Autoscale Logmet BAM
Integrates
with …
Provisions …
Local ContainerLocal container generation
and management
Local build and debug
Project scaffolding
SDK generation
Service provisioning
API Model generation
Swagger generation
14. 14 4/5/2017
Bluemix OpenWhisk
• A distributed, event-driven compute service
• Also referred to as Serverless computing or as Function as a Service (FaaS)
• OpenWhisk runs application logic in response to events or direct invocations from
web or mobile apps over HTTP.
• Events can be provided from Bluemix services like Cloudant and from external
sources.
• Developers can focus on writing application logic, and creating actions that are
executed on demand.
T AR
Pool of actions
Swift DockerJS
Trigger
1
Running
action
Running
action
Running
action
3
OpenWhisk
Engine
2 A
T
AAA
15. 15 4/5/2017
Bluemix OpenWhisk
Packages
A shared collection of triggers and actionsP
A
A read
write
T changes A translate A forecast
A post
T topic
Open
Source A myAction
T myFeed
Yours
T commit
Third
Party
Mobile
Push
A sendMessag
e
17. 17 4/5/2017
Bluemix OpenWhisk – Push package
• The /whisk.system/pushnotifications package enables you to work with a push
service.
• The /whisk.system/pushnotifications/sendMessage – Allows you to send all
types of Push notifications.
• Broadcast
• Unicast
• Platform based
• userId based
• The /whisk.system/pushnotifications/webhook – Allows you to subscribe for
Push service events.
• device registration
• Device Un-registration
• Tag subscription
• Tag Un-subscription
18. 18 4/5/2017
OpenWhisk + Mobile use cases
Retail Customer Feedback Scenario
This is an example usage of OpenWhisk and Push Notifications with the help of
Cloudant and Watson Tone Analyzer .
In this scenario, a retailer is soliciting feedback on a recent purchase from the
customers. Once the customer provides feedback, the feedback is analyzed using
Watson Tone Analyzer service and a relevant message is delivered using the Push
Notification Service. If the customer is disappointed as assessed by the tone, then the
retailer may provide some discount/return proposal.
20. 20 4/5/2017
Analytics + Push + OpenWhisk
In this sample we are using openWhisk to send the crash
reports to the Admins/Developers of an app. This scenario
uses the OpenWhisk , Push notifications, and Mobile Analytics
service.
21. 21 4/5/2017
Analytics + Push + OpenWhisk
Sending notification
to the Admin
EnduserApplicationApplicationProvider
22. 22 4/5/2017
Push + OpenWhisk Alert
In this sample we are using openWhisk Alert Package to send
Push notifications to the end user. Here we will use the Push
notification service, OpenWhisk Push package and Alert
package.
24. Travel App – Mobile + Watson + OpenWhisk + Kitura
• A traveller-friendly app showing the nearby
restaurants(based on occasion), spas and casinos.
• Sends a push notification if the user enters a new location.
• Showcasing
• Push Notifications
• Mobile Foundation
• Mobile Analytics
• Kitura talking to Google Places API
• Watson Conversation
• Watson Text to Speech & Speech to Text
• OpenWhisk
[Speakers] As you go through each bullet point, make sure you say HOW Mobile App Builder helps you accomplish each point:
Control your growing backlog. Use visual tools and templates to drastically reduce the time required to build an app
No more disconnect. Visual, no-code-required approach enables designers and LOB app stakeholders to take part in bringing the app to market
Bring the app to life. No code required to connect app to APIs and data sources, send push notifications, and authenticate users
Give it your personal touch. Download Native source code to customize, extend, and make it your own