building end to end lightning apps - dreamforce 2014

Download Building End To End Lightning Apps - Dreamforce 2014

If you can't read please download the document

Upload: raja-rao-dv

Post on 16-Apr-2017

2.590 views

Category:

Software


1 download

TRANSCRIPT

Welcome to the Dreamforce 14 Presentation Template

Building End-To-End Lightning Component AppsRaja Rao DVDeveloper Evangelist, Salesforce@rajaraodv

Safe HarborSafe 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 any litigation, risks associated with completed and any 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 year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These 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.

Key Takeaway:We are a publicly traded company. Please make your buying decisions only on the products commercially available from Salesforce.com.

Talk Track:Before I begin, just a quick note that when considering future developments, whether by us or with any other solution provider, you should always base your purchasing decisions on what is currently available.

Raja Rao DVDeveloper Evangelist, Salesforce@rajaraodv

OverviewRoad To ComponentsComponent Framework LandscapeThinking In Components : What, Why & HowReal-World Lightning AppThinking In ComponentsHow to decompose your apps into ComponentsTypes Of Components?Parts of ComponentsCommunication w/ Each OtherCommunication w/ Apex

Everything revolves around Components

It is important to know: The What, The Why before The How of Components

Everything revolves around Components

The What

A Car (Lightning App)Tire (L Component)Mirror (L Component)

Brake Pads (L Component)Analogy:

Car Lightning AppCode:

Everything revolves around Components

The Why

Benefits: 1. If a component breaks, replacing them is quick and easy

If tire or brake pads or a tire wears out you dont have to wait weeks to replace them

Benefits: 2. If a component breaks, replace just that component

If a Break Pad wares out, replace just the Brake pad

No need to meddle with the engine or car seat etc.

Benefits: 3. Parallel development (Divide-and-conquer) Brake Pads can be built independently of tires, so you can divide the teams easily

Benefits: 4. Built for Specifications

Different companies can build and competeBrand 1Brand 2No matter who builds it, it should work with the same nuts & bolts(consistent interface or specs)

Benefits: 5. Customize it like never before (Serious Customization)

Benefits: 5. Customize it like never before (Serious Customization)

Benefits: 6. 100s of READY MADE choices to buy and sell

Benefits 7: Use same set of components but build different things!

Components: Development & Distribution

Components are great, but what about development and distribution?

Create: At a Manufacturing Plant (Dev. Console)

Sell/Service/Test-Drive: At a Sales & Service station (App Builder)

Whats available for Dreamforce!

Whats available for Dreamforce #safeHarbor

BETA - Any one can try and build componentsPILOT - Salesforce needs to enable it.

Not Connected194 (Post DF)194- 196194But, you can still install Comps via Packages

Components: Where do they run?

Components can live in 3 different places

1. In a Stand Alone App (has a URL)

Components can live in 3 different places

2. Inside Salesforce1 Mobile App (no iFrame)

Components can live in 3 different places

3. Salesforce1 Mobile App Extensions

The World is moving towards Components

Facebook:

Twitter:

Google:Salesforce:

Mozilla:

Visualforce v/s Lightning

Visualforce: 1. Server-side technology2. Uses iFrame when running in S1 Mobile app.3. Cant do extreme customizations like Components.

Everything revolves around Components

The How

Lightning ComponentsComponents are building blocks

They encapsulate HTML, JS and CSS

They interact via events

They can be stacked

Component Frameworks Landscape

Facebook:

Twitter:

Google:Salesforce:

Mozilla:

What Are Components?Components are building blocks

They encapsulate HTML, JS and CSS

They interact via events

They can be stacked

Thinking In Components

Think at an interface level rather than JS functions and CSS What attributes should it take?What events should it listen to?What events should it fire?

Expense Tracker App

Expense Reporting FormTotal ExpensesNumber of ExpensesList of Expenses (there is only in the diagram)

Expense Tracker app Form ComponentList Component

Initial Flow

New Expense Flow

Reimbursed Flow

TimeTitleSpeakersCompany9:45 AM (30 minutes)Introduction To Lightning ComponentsSkip Sauls, Doug ChasmanSalesforce12:30 PM (30 minutes)Introduction to Lightning ExtensionsSkip Sauls, Doug ChasmanSalesforce1:15 PM (30 minutes)Surfacing Lightning Components in App BuilderDean MosesSalesforce2:15 PM (30 minutes)Going Under the hood of Lightning ComponentsPrasad Pamidi, Vikram DatlaPlumsoft4:00 PM (40 minutes)How Salesforce Builds Lightning ComponentsSrinivas AruruSalesforce8:00 AM 8:00 PM(all day)Lightning Components Quick Start (10 minutes long, Hands-on / Self-service training - Salesforce staff will assist)SalesforceSalesforce8:00 AM 8:00 PM(all day) Lightning Demo Pods (Dev. Zone + Campground)(Receive a quick demo of everything Lightning)SalesforceSalesforce12:00 PM- 12:45 PM2:00 PM - 2:45 PMLightning App Builder Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce1:00 PM - 2:00 PM3:00 PM - 4:00 PMLightning Components Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce8:00 AM 8:00 PM(all day)Lightning Components Mini Hack(Solve a small Lightning Component challenge - win prizes)SalesforceSalesforce

Lightning Components Activities: Dev. Zone Monday, Oct 13th

TimeTitleSpeakersCompany9:00 AM 11:30 AM (2.5 hours, Hilton Union Sq.)Hands-on Training: Get Started Coding Salesforce1 Mobile Apps with Lightning ComponentsSalesforce UniversitySalesforce9:45 AM (30 minutes, Theater)Seamlessly Integrate Lightning Components In S1 Mobile AppCanice Lambe, David HayesTAS11:00 AM (40 minutes, 2006)Building End-To-End Lightning AppsRaja Rao DVSalesforce11:00 AM - 11:45 AM4:00 PM - 4: 45 PMLightning App Builder Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce4:00 PM (40 minutes, 2006)Introduction To Lightning ComponentsSkip Sauls, Doug ChasmanSalesforce5:00 PM (40 minutes, 2006)Introduction to Lightning ExtensionsSkip Sauls, Doug ChasmanSalesforce8:00 AM 6:00 PM(all day)Lightning Components Quick Start (10 minutes long, Hands On / Self-service training - Salesforce staff will assist)SalesforceSalesforce8:00 AM 6:00 PM(all day) Lightning Demo Pods (Dev. Zone + Campground)(Receive a quick demo of everything Lightning)SalesforceSalesforce12:00 PM - 1:00 PM5:00 PM - 6:00 PMLightning Components Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce8:00 AM 6:00 PM(all day)Lightning Components Mini Hack(Solve a small Lightning Component challenge - win prizes)SalesforceSalesforce

Lightning Components Activities: Dev. Zone Tuesday, Oct 14th

TimeTitleSpeakersCompany9:00 AM - 9:45 AM3:00 PM - 3:45 PMLightning App Builder Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce1:00 PM (30 minutes, Theater)Lightning Components The FutureDoug Chasman, Skip SaulsSalesforce1:15 PM (40 minutes, 2008)How Salesforce Builds Lightning ComponentsSrinivas AruruSalesforce1:45 PM (30 minutes, Theater)Extend S1 App With Clerisofts Dynamic Lightning ComponentsMaruthi DronamrajuClerisoft8:00 AM 6:00 PM(all day)Lightning Components Quick Start (10 minutes long, Hands On / Self-service training - Salesforce staff will assist)SalesforceSalesforce8:00 AM 6:00 PM(all day) Lightning Demo Pods (Dev. Zone + Campground)(Receive a quick demo of everything Lightning)SalesforceSalesforce11:30 AM 12:10 PM(The Westin, Market St.)Emerging Technologies: Lightning For ISVsNaren Raghavan, Skip Sauls, Stuart Bernstein, Vikram Datla, Jay SappidiPlumsoftSalesforce1:00 PM - 2:00 PM4:00 PM - 5:00 PMLightning Components Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce8:00 AM 6:00 PM(all day)Lightning Components Mini Hack(Solve a small Lightning Component challenge - win prizes)SalesforceSalesforce

Lightning Components Activities: Dev. Zone Wednesday, Oct 15th

TimeTitleSpeakersCompany8:30 AM(30 minutes, Theater)Build Killer Apps In Lightning Components With SkuidBen Hubbard, Zach McElrathSkuid9:30 AM (40 minutes, 2006)Surfacing Lightning Components in App BuilderDean MosesSalesforce8:30 AM - 9:15 AM12:30 PM - 1:15 PMLightning App Builder Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce10:30 AM (40 minutes, 2008)Lightning Components The FutureDoug Chasman, Skip SaulsSalesforce11:15 AM(30 minutes, Theater)Build Killer Apps In Lightning Components With SkuidBen Hubbard, Zach McElrathSkuid8:00 AM 2:00 PMLightning Components Quick Start (10 minutes long, Hands On / Self-service training - Salesforce staff will assist)SalesforceSalesforce8:00 AM 2:00 PM Lightning Demo Pods (Dev. Zone + Campground)(Receive a quick demo of everything Lightning)SalesforceSalesforce9:30 AM 10:30 AMLightning Components Hands-on Mini Workshop (45 minutes long, Salesforce Staff will assist)SalesforceSalesforce8:00 AM 2:00 PMLightning Components Mini Hack(Solve a small Lightning Component challenge - win prizes)SalesforceSalesforce

Lightning Components Activities: Dev. Zone Thursday, Oct 15th

Questions?