Mobile user interface for a SaaS or Cloud-hosted application.

Pattern Definition
Problem | How do I add a mobile user interface to a SaaS or Cloud-hosted application? | |
Context | This pattern is applicable when there is a desire to add a mobile user interface to a SaaS or Cloud-hosted application. The mobile backend is Cloud-based as well as the application. | |
Forces |
| |
Solution | This mobility pattern employs a Mobile Platform only in the Cloud. This provides the quickest way to create a mobile user interface for a SaaS or Cloud-hosted application. | |
Consequences | Pros:
|
Interaction View
Direct Connect
Mobile user interface with mobile backend connecting directly to the Cloud-based application.

Interaction
Interaction initiated by mobile device:
- The mobile device uses the Mobile platform Client SDK to call the mobile backend provided by the Mobile platform.
- The Mobile platform calls the Cloud-based application. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS.
Interaction initiated by Cloud-based application:
- The Cloud-based application calls the Mobile platform to send a notification to a mobile device.
- The Mobile platform routes the notification to the appropriate mobile devices.
Notes
- The Cloud-based application must provide an interface that is readily accessible from the Mobile platform (e.g. REST).
- To send a notification, the Cloud-based application must call the REST API on the Mobile platform.
Application Integration Platform
Mobile user interface with mobile backend connecting to the Cloud-based application via the Application Integration Platform.

Interaction
Interaction initiated by mobile device:
- The mobile device uses the Mobile platform Client SDK to call the mobile backend provided by the Mobile platform.
- The Mobile platform calls the application Integration platform.
- The application Integration platform calls the Cloud-based application via an adapter. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS.
Interaction initiated by Cloud-based application:
- The Cloud-based application calls the application Integration platform via an adapter.
- The application Integration platform calls the Mobile platform to send a notification to a mobile device.
- The Mobile platform routes the notification to the appropriate mobile devices.
Notes
- The application Integration platform provides pre-built adapters to many Cloud-based applications. Custom adapters can also be created if needed.