Build Next-gen Apps Faster with Lightning Components

27
Lightning Components March 26, 2015

Transcript of Build Next-gen Apps Faster with Lightning Components

Lightning ComponentsMarch 26, 2015

Raja Rao DVDeveloper Evangelist

@rajaraodv

Skip SaulsDirector, Product Management

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 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, 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, 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-K for the most recent fiscal quarter ended

July 31, 2011. This document and others 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 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.

Agenda

High level overview of Lightning Components

Demo: Sublime Text - Lightning Plugin

Demo: Building A Multi-View S1 Mobile App

– Properly loading Bootstrap, JS and 3rd party libs.

• Using ltng:require

• Using namespacer (tool for namespacing CSS)

– Using force:navigateToComponent for navigating b/w views

Demo: Lightning REST service (preview)

Lightning Roadmap

Q & A

Lightning Components Overview

ConnectProcess

Builder

App

BuilderComponent

Framework

Component Frameworks Are The FutureAll leading platform companies are investing in component frameworks

Google

PolymerFacebook

ReactSalesforce

LightningTwitter

FlightMozilla

Brick

What can I build?

1. Components that run in stand alone Desktop applications.

2. Components that run in S1 Mobile app.

3. Components that can replace S1 Mobile app components

(via Lightning Extension)

Salesforce1 Mobile – Built using Lightning Components

Lightning App Builder – Built Using LC

Lightning Process Builder - Built using LC

Developing LC from Sublime

Text Editor

Lightning Sublime Plugin

Sublime Text - Lightning Plugin

INSTALL: https://github.com/dcarroll/sublime-lightning

Once you install the plugin,

Start using it by right-clicking

on a folder.

1. Login to Salesforce

2. Fetch Lightning

Building Multi-View S1 App

ltng:require Package: http://bit.ly/multiViewExpenseApp

// myComponent.cmp

<ltng:require

styles=’/resource/core,/resource/bootstrap.css’

scripts=‘/resource/js1,/resource/js2’

afterScriptsLoaded="{!c.allJSLoaded}"

/>

// mJSController.js

allJSLoaded: function(component, event, helper) {

//Wait for all JS to load and do something here.

}

Multiple CSS files

separated by comma

Multiple JS files

separated by comma

CSS Namespacer

force:navigateToComponent (S1 Only)

Lightning REST Service

(Preview)

Lightning Roadmap

(Preview)

Questions?

#lightningdevweek

Next Steps

http://developer.salesforce.com/calendar

• Lightning App Builder

• Lightning Component Framework

• Lightning Process Builder

• Lightning Connect

Lightning Deep Dive Webinars

Use this link to create a new Spring ‘15 Developer

Edition (DE) org with App Builder enabled

For Production orgs, ask your AE to nominate you

for the Pilot program.

Try out the App Builder Developer Beta!

http://bit.ly/lightning-org

Pave Your Own Trail

http://developer.salesforce.com/trailhead

Thank You

Raja Rao DVDeveloper Evangelist

@rajaraodv

Skip SaulsSr. Director, Product Management