Building Desktop & Mobile Apps with Sencha and Force.com

52
Building Desktop & Mobile Apps with Sencha and Force.com Ted Patrick, Sencha Inc., Evangelist @__ted__

Transcript of Building Desktop & Mobile Apps with Sencha and Force.com

Page 1: Building Desktop & Mobile Apps with Sencha and Force.com

Building Desktop & Mobile Apps

with Sencha and Force.com

Ted Patrick, Sencha Inc., Evangelist

@__ted__

Page 2: Building Desktop & Mobile Apps with Sencha and Force.com

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: Building Desktop & Mobile Apps with Sencha and Force.com

Ted Patrick

Evangelist

@__ted__

[email protected]

Page 4: Building Desktop & Mobile Apps with Sencha and Force.com
Page 5: Building Desktop & Mobile Apps with Sencha and Force.com

pages interactive apps

Page 6: Building Desktop & Mobile Apps with Sencha and Force.com

Build Amazing Apps with Web Standards

pages interactive apps

Page 7: Building Desktop & Mobile Apps with Sencha and Force.com

QuickTime™ and aH.264 decompressor

are needed to see this picture.

Page 8: Building Desktop & Mobile Apps with Sencha and Force.com

QuickTime™ and aH.264 decompressor

are needed to see this picture.

Page 9: Building Desktop & Mobile Apps with Sencha and Force.com

Force.com Developer

Console is built with

Sencha Ext JS

- Deep SFDC Integration

- Full API Access

- It Just Works!

Page 10: Building Desktop & Mobile Apps with Sencha and Force.com

QuickTime™ and aH.264 decompressor

are needed to see this picture.

Page 11: Building Desktop & Mobile Apps with Sencha and Force.com

MY APPLICATION

Sencha Touch Mobile

Ext JS Desktop

BROWSER ENGINES

JavaScript HTML CSS

SERVERS & SERVICES

Page 12: Building Desktop & Mobile Apps with Sencha and Force.com

SERVERS & SERVICES

MY APPLICATION

Sencha Touch Mobile

Ext JS Desktop

BROWSER ENGINES

• Desktop framework

• Cross-BrowserModern

desktop UI

• Mobile framework

• Native packagingModern

mobile UI

JavaScript HTML CSS

Page 13: Building Desktop & Mobile Apps with Sencha and Force.com

Sencha Customers 50% of the Fortune 100 license Sencha

Page 14: Building Desktop & Mobile Apps with Sencha and Force.com

Build and Deploy

in 2 Minutes!

Page 15: Building Desktop & Mobile Apps with Sencha and Force.com

SERVERS & SERVICES

MY APPLICATION

BROWSER ENGINES

UI: Controls + Containers

Foundation: OOP + MVC + Library

Data: Models + Stores + Connectors

JavaScript HTML CSS

Sencha Touch Mobile

Ext JS Desktop

Page 16: Building Desktop & Mobile Apps with Sencha and Force.com

SERVERS & SERVICES

MY APPLICATION

BROWSER ENGINES

UI: Controls + Containers

Foundation: OOP + MVC + Library

Data: Models + Stores + Connectors

JavaScript HTML CSS

Sencha Touch Mobile

Ext JS Desktop

Page 17: Building Desktop & Mobile Apps with Sencha and Force.com

Foundation

Page 18: Building Desktop & Mobile Apps with Sencha and Force.com

Class System

Packages

Inheritance

Scope Management

Class Loading

Mix-ins

Page 19: Building Desktop & Mobile Apps with Sencha and Force.com

Ext.create( ‘class_name’, { } );

Ext.define( ‘class_name’, { } );

Class System

Page 20: Building Desktop & Mobile Apps with Sencha and Force.com

Classes

Page 21: Building Desktop & Mobile Apps with Sencha and Force.com

Classes

Page 22: Building Desktop & Mobile Apps with Sencha and Force.com

Classes

Page 23: Building Desktop & Mobile Apps with Sencha and Force.com

MVC

Page 24: Building Desktop & Mobile Apps with Sencha and Force.com

Standard Library

Page 25: Building Desktop & Mobile Apps with Sencha and Force.com

xtype

Page 26: Building Desktop & Mobile Apps with Sencha and Force.com

SERVERS & SERVICES

MY APPLICATION

BROWSER ENGINES

JavaScript HTML5 CSS3

UI: Controls + Containers

Foundation: OOP + MVC + Library

Data: Models + Stores + Connectors

Sencha Touch Mobile

Ext JS Desktop

Page 27: Building Desktop & Mobile Apps with Sencha and Force.com

Data

Page 28: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Model & Stores

Page 29: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Model & Stores

Page 30: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Force.com

Page 31: Building Desktop & Mobile Apps with Sencha and Force.com

PocketCRM

http://bit.ly/PocketCRM

Leads Management App

APEX @RemoteMethod +

Sencha Touch 2.0.1

Page 32: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Model Proxy & APEX

Page 33: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Model Proxy & APEX

@RemoteActio

n

Page 34: Building Desktop & Mobile Apps with Sencha and Force.com

Data: Model Proxy & APEX

Query

Page 35: Building Desktop & Mobile Apps with Sencha and Force.com

SERVERS & SERVICES

MY APPLICATION

BROWSER ENGINES

JavaScript HTML5 CSS3

UI: Controls + Containers

Foundation: OOP + MVC + Library

Data: Models + Stores + Connectors

Sencha Touch Mobile

Ext JS Desktop

Page 36: Building Desktop & Mobile Apps with Sencha and Force.com

UI

Page 37: Building Desktop & Mobile Apps with Sencha and Force.com

Touch Components

Page 38: Building Desktop & Mobile Apps with Sencha and Force.com

Ext JS Components

Page 39: Building Desktop & Mobile Apps with Sencha and Force.com

Touch Containers

Page 40: Building Desktop & Mobile Apps with Sencha and Force.com

Ext JS Containers

help with desktop UI component examples?

Page 41: Building Desktop & Mobile Apps with Sencha and Force.com

QuickTime™ and aH.264 decompressor

are needed to see this picture.

Touch

Scrolling

Page 42: Building Desktop & Mobile Apps with Sencha and Force.com

Touch Events Built on native events

Abstracted for performance

Additional events

Tap

Double tap

Tap and hold

Swipe

Pinch

Drag & drop

Page 43: Building Desktop & Mobile Apps with Sencha and Force.com
Page 44: Building Desktop & Mobile Apps with Sencha and Force.com

Styling with Sass

Page 45: Building Desktop & Mobile Apps with Sencha and Force.com

Tooling

Page 46: Building Desktop & Mobile Apps with Sencha and Force.com

Sencha Architect 2.1

Page 47: Building Desktop & Mobile Apps with Sencha and Force.com

Sencha Eclipse Plugin

Page 48: Building Desktop & Mobile Apps with Sencha and Force.com

Sencha Deployment Mobile Desktop

Web

Native Package

Sencha Touch Ext JS

Sencha Touch Ext JS

Page 49: Building Desktop & Mobile Apps with Sencha and Force.com

Get Started!

Page 50: Building Desktop & Mobile Apps with Sencha and Force.com
Page 51: Building Desktop & Mobile Apps with Sencha and Force.com
Page 52: Building Desktop & Mobile Apps with Sencha and Force.com

Slide parts