Mobile Developer WeekSalesforce Platform Mobile Services
John StevensonDeveloper Evangelist@jr0cket
About Me
• Developer Evangelist for force.com & Heroku
• @jr0cket
• blog.jr0cket.co.uk
• developer.force.com
London Salesforce Developers
• Monthly social meetings with short talks (~20 mins)
• Evening tech workshops
• Hack the force.com
• Bi-monthly hack day – www.HackTheTower.co.uk
What Mobiles apps have you developed?
Mobile Development Options
Developing Mobile Apps with Salesforce Data
• Salesforce Touch• Via the browser or mobile app
• Native/Hybrid (Mobile SDK)• Mobile SDK 2 to be released soon
• HTML5 & JavaScript frameworks• Deployed as Heroku app or VisualForce page
Bridging the gap between mobile and enterprise data
Customer DataModern Mobile Developers
Building Mobile Apps With Legacy Platforms Is Difficult
Idea
Buy & Setup
Hardware
Install Complex Software
Define User
Access
Build & Test
Security
Make It Mobile &
Social
Setup Reporting & Analytics
Build App with Legacy
Frameworks
Months to Years
MobileApp
Salesforce Platform:
The Fastest Path From Idea to Connected Mobile App
Idea
Build App with Modern Frameworks
Connect Customer &
Business Data
ConnectedMobile Apps
Introducing New Salesforce Platform Mobile Services
Recommendations
Mobile Services
HTML5, Hybrid, Native
Drag & Drop Development
Identity and Security Social FilesDatabase Mobile SDK
Developer Mobile Packs
Connected Social Any DeviceTrusted
New Mobile Services
• Mobile SDK 2.0
• Mobile Accelerator Program
• Mobile Packs
Mobile SDK 2.0
• Faster and more modularized architecture
• New entity frameworks for easy data access and offline
storage
• Identity for employee and customer facing apps
• Connect Salesforce data with any native existing app
API WrappersInteract with Salesforce REST APIs with popular mobile platform languages
Secure Offline StorageStore business data on a device with enterprise-class encryption
Push NotificationsDispatch real-time alerts directly to mobile devices
OAuth2Secure authentication and refresh token management
App ContainerEmbed HTML5 apps inside a container to access powerful native device functionality
http://developer.force.com/mobilesdk
Mobile Accelerator Program
• Provide rapid, high-touch Mobile Services training
for partners• Appirio, Accenture, Bluewolf, Aditi, Tquila, Deloitte, Detroit
Labs
• Provides companies with qualified app building
partners
Designed for leading consulting partners, systems integrators, and ISVs
Mobile Packs
• Using modern JavaScript web app frameworks
• Simplify data access using ForceTK.js
• Simplifying oAuth implementation
Current Mobile Packs
• First of many mobile packs and samples
• Open to the developer community
Demo
jQuery Mobile Example – Script Includes
jQuery Mobile Example – body & pages
https://github.com/jr0cket/jquery-mobile-template
jQuery Mobile aspects
• Unlike HTML pages, a jQuery file can contain multiple
pages• <div data-role “list-view”> … </div>
• <div data-role “details-view”> … </div>
• VisualForce pages • Place all pages in once visual force page unless you get
performance issues
• jQuery mobile will only add the first page from any externally
linked files (jQuery Mobile limitation)
Book: jQuery Mobile – Up and running
Next Steps
• Try out the mobile packs yourself• Gain confidence in building mobile apps
• Extend and create new packs• For your own needs
• To share with the developer community
Thank you.
Any questions?
@forcedotcom@jr0cket
developer.force.com
blog.jr0cket.co.uk