Building Cross Platform Mobile Apps
Dev Tools, MBaaS, Architecture, APIs
Layer 7 Confidential 2
So You Want to Build a Mobile App
What Mobile Platforms to Support?
What backend services to integrate?
What login credentials are required?
How to scale this app as it grows?
Layer 7 Confidential 3
Mobile Apps in the Enterprise – The Philosophical Debate
Pros + Cons need to be
considered. Faster iteration.
More platforms. BYOD.
Hybrid Native:
HTML5 + Wrapper
Leverages Native UI Controls,
Uses a Framework and Build
Engine
Hybrid Native,
Runtime
Use only for development, not
for production.
Mobile Web
Best performance, most time to
develop and maintain.
Full Native
Layer 7 Confidential 4
Architecture of a Hybrid Native App
Mobile UI Frameworks
Native App Wrapper
MBaaS
API Integration
Layer 7 Confidential 5
Architecture of a Hybrid Native App
Native App Wrapper
MBaaS
API Integration
Layer 7 Confidential 6
Mobile UI Frameworks
Layer 7 Confidential 7
Mobile UI Frameworks – jQuery Mobile
Layer 7 Confidential 8
Mobile UI Frameworks – Bootstrap
Layer 7 Confidential 9
Mobile UI Frameworks – Sencha
Layer 7 Confidential 10
Mobile App Specific IDEs
Layer 7 Confidential 11
Architecture of a Hybrid Native App
Mobile UI Frameworks
MBaaS
API Integration
Layer 7 Confidential 12
How to go from Mobile Web to Hybrid Native?
A multiple phone web based application
framework is a software framework that
is designed to support the development
of phone applications that are written
as embedded dynamic websites and
may leverage native phone capabilities,
like geo data or contact lists.
From Wikipedia
Layer 7 Confidential 13
What Identifies a Hybrid Native App?
 Back Button
 Non-native UI Controls
 Slow Performance
 Lack of Snappiness
 Available on All Platforms
Layer 7 Confidential 14
How to go from Mobile Web to Hybrid Native?
Layer 7 Confidential 15
PhoneGap Architecture Explained
Layer 7 Confidential 16
Architecture of a Hybrid Native App
Mobile UI Frameworks
Native App Wrapper
API Integration
Layer 7 Confidential 17
Mobile Backend as a Service – What?
Feature Functionality
Identity SSO, User Mgmt, Auth at API Layer
Persistence Offline Mode, Data Syncing, Caching
Messaging Push Notifications, Email, SMS
Orchestration Server Side Code, API Integration
Layer 7 Confidential 18
Backend as a Service Ecosystem
Layer 7 Confidential 19
Mobile Backend as a Service, Which One?
Is this really just a prototyping platform?
What will my cost be at scale?
Will we be creating redundant data?
Will this startup be around in 2 years?
Do they offer SDKs for all mobile platforms?
How will it help me integrate my APIs?
Layer 7 Confidential 20
Mobile Backend as a Service, Which One?
Is this really just a prototyping platform?
What will my cost be at scale?
Will we be creating redundant data?
Will this startup be around in 2 years?
Do they offer SDKs for all mobile platforms?
How will it help me integrate my APIs?
Layer 7 Confidential 21
Architecture of a Hybrid Native App
Mobile UI Frameworks
Native App Wrapper
MBaaS
Layer 7 Confidential 22
Architecture of an API Powered Mobile App
Partner Connector
SDK
Cloud Connectors
Mobile Connectors
SOA Adapters
Application
Firewalling
Social
Connectors
Layer 7 Confidential 23
Best Practices for Integrating APIs
 Never leave the user waiting for an API
response
- Decouple API from UI
- Pre-fetch when possible
 Cache data in local storage or SQLlite
 Always test Apps in Offline Mode
Layer 7 Confidential 24
Architecting APIs for Mobile
 Utilize Gzip compression at API layer
 Implement OAuth for long-term scale and
security of user logon
 REST APIs make it easier to consume
 Versioning of APIs to prevent breaking apps
 Explore hypermedia, potentially create auto-
API learning apps as your APIs evolve
Layer 7 Confidential 25
Free API Workshop Next Week!
 Align API design with business goals
 Architect flexible and robust APIs that are developer-accessible
 Design for multiple client platforms (Web, mobile and cloud)
 Implement USE methodology, versioning, reusability and hypermedia
 Address issues around security, identity, social integration, reliability and scalability
API Strategy Workshop
Conrad Hotel NY
June 18th 8:30am – 1pm
API.co/nyc-wrk
Layer 7 Confidential 26
Question and Answer
Thank you
@intalex
alex@Layer7.com

Building Cross Platform Mobile Apps Dev Tools, MBaaS, Architecture, APIs

  • 1.
    Building Cross PlatformMobile Apps Dev Tools, MBaaS, Architecture, APIs
  • 2.
    Layer 7 Confidential2 So You Want to Build a Mobile App What Mobile Platforms to Support? What backend services to integrate? What login credentials are required? How to scale this app as it grows?
  • 3.
    Layer 7 Confidential3 Mobile Apps in the Enterprise – The Philosophical Debate Pros + Cons need to be considered. Faster iteration. More platforms. BYOD. Hybrid Native: HTML5 + Wrapper Leverages Native UI Controls, Uses a Framework and Build Engine Hybrid Native, Runtime Use only for development, not for production. Mobile Web Best performance, most time to develop and maintain. Full Native
  • 4.
    Layer 7 Confidential4 Architecture of a Hybrid Native App Mobile UI Frameworks Native App Wrapper MBaaS API Integration
  • 5.
    Layer 7 Confidential5 Architecture of a Hybrid Native App Native App Wrapper MBaaS API Integration
  • 6.
    Layer 7 Confidential6 Mobile UI Frameworks
  • 7.
    Layer 7 Confidential7 Mobile UI Frameworks – jQuery Mobile
  • 8.
    Layer 7 Confidential8 Mobile UI Frameworks – Bootstrap
  • 9.
    Layer 7 Confidential9 Mobile UI Frameworks – Sencha
  • 10.
    Layer 7 Confidential10 Mobile App Specific IDEs
  • 11.
    Layer 7 Confidential11 Architecture of a Hybrid Native App Mobile UI Frameworks MBaaS API Integration
  • 12.
    Layer 7 Confidential12 How to go from Mobile Web to Hybrid Native? A multiple phone web based application framework is a software framework that is designed to support the development of phone applications that are written as embedded dynamic websites and may leverage native phone capabilities, like geo data or contact lists. From Wikipedia
  • 13.
    Layer 7 Confidential13 What Identifies a Hybrid Native App?  Back Button  Non-native UI Controls  Slow Performance  Lack of Snappiness  Available on All Platforms
  • 14.
    Layer 7 Confidential14 How to go from Mobile Web to Hybrid Native?
  • 15.
    Layer 7 Confidential15 PhoneGap Architecture Explained
  • 16.
    Layer 7 Confidential16 Architecture of a Hybrid Native App Mobile UI Frameworks Native App Wrapper API Integration
  • 17.
    Layer 7 Confidential17 Mobile Backend as a Service – What? Feature Functionality Identity SSO, User Mgmt, Auth at API Layer Persistence Offline Mode, Data Syncing, Caching Messaging Push Notifications, Email, SMS Orchestration Server Side Code, API Integration
  • 18.
    Layer 7 Confidential18 Backend as a Service Ecosystem
  • 19.
    Layer 7 Confidential19 Mobile Backend as a Service, Which One? Is this really just a prototyping platform? What will my cost be at scale? Will we be creating redundant data? Will this startup be around in 2 years? Do they offer SDKs for all mobile platforms? How will it help me integrate my APIs?
  • 20.
    Layer 7 Confidential20 Mobile Backend as a Service, Which One? Is this really just a prototyping platform? What will my cost be at scale? Will we be creating redundant data? Will this startup be around in 2 years? Do they offer SDKs for all mobile platforms? How will it help me integrate my APIs?
  • 21.
    Layer 7 Confidential21 Architecture of a Hybrid Native App Mobile UI Frameworks Native App Wrapper MBaaS
  • 22.
    Layer 7 Confidential22 Architecture of an API Powered Mobile App Partner Connector SDK Cloud Connectors Mobile Connectors SOA Adapters Application Firewalling Social Connectors
  • 23.
    Layer 7 Confidential23 Best Practices for Integrating APIs  Never leave the user waiting for an API response - Decouple API from UI - Pre-fetch when possible  Cache data in local storage or SQLlite  Always test Apps in Offline Mode
  • 24.
    Layer 7 Confidential24 Architecting APIs for Mobile  Utilize Gzip compression at API layer  Implement OAuth for long-term scale and security of user logon  REST APIs make it easier to consume  Versioning of APIs to prevent breaking apps  Explore hypermedia, potentially create auto- API learning apps as your APIs evolve
  • 25.
    Layer 7 Confidential25 Free API Workshop Next Week!  Align API design with business goals  Architect flexible and robust APIs that are developer-accessible  Design for multiple client platforms (Web, mobile and cloud)  Implement USE methodology, versioning, reusability and hypermedia  Address issues around security, identity, social integration, reliability and scalability API Strategy Workshop Conrad Hotel NY June 18th 8:30am – 1pm API.co/nyc-wrk
  • 26.
    Layer 7 Confidential26 Question and Answer Thank you @intalex alex@Layer7.com