Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

17
Offline Mobile Apps with SmartStore Tom Gersic – Director, Mobile Services Delivery @tomgersic

description

Offline Mobile Apps with SmartStore presentation at the Salesforce.com Customer Company Tour in New York on June 14, 2013. Mobile apps and offline access go hand in hand. If a sales rep has five minutes with an executive and an iPad, but no cell signal, they need their information available offline. The Salesforce Mobile SDK SmartStore provides everything you need to develop native and hybrid applications on iOS and Android that have offline access to your data. Join us to learn the highlights of building an offline-capable application for salesforce.com. Find the code here: https://github.com/tomgersic/HazyPassword

Transcript of Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Page 1: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Offline Mobile Apps with SmartStoreTom Gersic – Director, Mobile Services Delivery

@tomgersic

Page 2: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Safe Harbor

Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

What we’re building today

Page 4: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Why are we building it?

Page 5: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Modern Mobile Developers Are Disconnected from Customer Data

Customer DataModern Mobile Developers

Page 6: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Salesforce powers over 3 million apps

Apps for Salesforce data, CRM, and collaboration

Salesforce Apps

1700+ ISV Partner apps

Partner Apps Custom Apps

Page 7: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Mobile SDK

OAuth2Secure authentication and refresh token management

API WrappersInteract with Salesforce REST APIs  with popular mobile platform languages

App ContainerEmbed HTML5 apps inside a container to access powerful native device functionality

Secure Offline DatabaseStore business data on a device with enterprise-class security

Push NotificationsDispatch real-time alerts directly to mobile devices

Page 8: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

SmartStore

Page 9: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Terminology

Page 10: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Online/Offline Access to Records

Page 11: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Offline Queueing

Page 12: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

REST API Returns a JSON Response/services/data/v27.0/query/?q=SELECT Id, Name, Username__c, Password__c, URL__c FROM Password__c

Page 13: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Soups…

Id Soup Created lastModified Index 1 Index 2 Index N…

1 {JSON} 1371069899796 1371070436125 a00E0000009Xj2mIAC Salesforce.com …

2 {JSON} 1371069899802 1371070436126 a00E0000009Xj36IAC Facebook …

3 {JSON} 1371069899803 1371129103154 a00E0000004h2MnIAI Google …

Page 14: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Queues…

Id Soup Index 1

1 {JSON} a00E0000009Xj2mIAC

Id Soup Index 1

Page 15: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

The High Level

Index.html

hazypassword.js

Password.js

OfflineQueue.js

Page 16: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Some things you can do with your soup…

• Register a Soup with an IndexSpec

• Query a Soup using a QuerySpec

• Upsert Data to a Soup

• Delete Data from a Soup

• Remove a Soup

Page 17: Tom Gersic, Offline Mobile Apps with SmartStore -- Salesforce.com Customer Company Tour New York

Thank You

@tomgersic