Transcript
Page 1: Salesforce Mobile Developer Week

Mobile Developer WeekSalesforce Platform Mobile Services

John StevensonDeveloper Evangelist@jr0cket

Page 2: Salesforce Mobile Developer Week

About Me

• Developer Evangelist for force.com & Heroku

• @jr0cket

• blog.jr0cket.co.uk

• developer.force.com

Page 3: Salesforce Mobile Developer Week

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

Page 4: Salesforce Mobile Developer Week

What Mobiles apps have you developed?

Page 5: Salesforce Mobile Developer Week

Mobile Development Options

Page 6: Salesforce Mobile Developer Week

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

Page 7: Salesforce Mobile Developer Week

Bridging the gap between mobile and enterprise data

Customer DataModern Mobile Developers

Page 8: Salesforce Mobile Developer Week

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

Page 9: Salesforce Mobile Developer Week

Salesforce Platform:

The Fastest Path From Idea to Connected Mobile App

Idea

Build App with Modern Frameworks

Connect Customer &

Business Data

ConnectedMobile Apps

Page 10: Salesforce Mobile Developer Week

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

Page 11: Salesforce Mobile Developer Week

New Mobile Services

• Mobile SDK 2.0

• Mobile Accelerator Program

• Mobile Packs

Page 12: Salesforce Mobile Developer Week

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

Page 13: Salesforce Mobile Developer Week

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

Page 14: Salesforce Mobile Developer Week

Mobile Packs

• Using modern JavaScript web app frameworks

• Simplify data access using ForceTK.js

• Simplifying oAuth implementation

Page 15: Salesforce Mobile Developer Week

Current Mobile Packs

• First of many mobile packs and samples

• Open to the developer community

Page 16: Salesforce Mobile Developer Week

Demo

Page 17: Salesforce Mobile Developer Week

jQuery Mobile Example – Script Includes

Page 18: Salesforce Mobile Developer Week

jQuery Mobile Example – body & pages

https://github.com/jr0cket/jquery-mobile-template

Page 19: Salesforce Mobile Developer Week

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)

Page 20: Salesforce Mobile Developer Week

Book: jQuery Mobile – Up and running

Page 21: Salesforce Mobile Developer Week

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

Page 22: Salesforce Mobile Developer Week

Thank you.

Any questions?

@forcedotcom@jr0cket

developer.force.com

blog.jr0cket.co.uk