SlideShare une entreprise Scribd logo
1  sur  22
Put Lightning Out in
ALL THE THINGS
Use your Lightning Components anywhere
Mary Scotton
Principal Developer Evangelist
mscotton@salesforce.com
@rockchick322004
www.maryscotton.com
Forward Looking Statements
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 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.
FORCE
HEROKU
ENTERPRISE
Model-driven
development platform
Polyglot platform for
elastic scale
APPEXCHANGE
#1 Enterprise App
Marketplace
LIGHTNING
THUNDER
Stream & event-
based primitives
Modern HTML5
Framework
TRAILHEAD
Fun, easy, interactive
way to learn App Cloud
Salesforce App Cloud
Let’s do a quick Lightning Recap
Before we talk about Lightning Out
What is Lightning?
a. A new User Experience for Salesforce
b. A set of tools to visually build apps on top of Salesforce
c. A design system of tools and best practices for creating custom UIs
d. A component framework for building custom apps
e. ALL THE THINGS Correct Answer
What we’re talking
about today
Lightning
Out
Lightning
Experience
Lightning
Framework
Lightning Component Framework
Proven UI framework for developing dynamic web and mobile apps
What are Lightning Components?
Lightning 101
• UI Framework bridges the
client (JS) and server (Apex)
• Reusable building blocks for
an app
• Designed for mobile and
desktop apps
• Built on the open source
Aura framework
Developer Benefits from Lightning Components
Lightning 101
 Enables your admins in Lightning App Builder & Community Builder
 Less Page Refreshes & tightly integrated
 Responsive and mobile friendly client-centric design
 Modular and event-driven architecture
 Device-aware with cross browser compatibility
 Reusability
 Future of the platform!
Anatomy of a Component
D
Component
<c:HotelList/>
Apex ControllerInterfaces
Attributes
Markup
Cmp
Bundle
Data Binding
My Hotel App
Hotel Map
Hotel List
Hotel List Item
Introducing Lightning
Components for Visualforce
Demo of Lightning Components
for Visualforce
Recap: Lightning Components in Visualforce
There are only three steps necessary to integrate components:
1. Add <apex:includeLightning/> to your Visualforce page
2. Tell your Visualforce page which Lightning app to use
3. Write a function that creates the component on the page
Introducing Lightning Out
(Beta in Spring ‘16)
Lightning Out
Platforms
Microsoft
SAP
Heroku
On Premise
Amazon
And more...
Lightning Out
Frameworks, Toolkits, and Libraries
Lightning Out
Requirements
 Valid Salesforce session ID (SID), for
example from Oauth
 Ability to modify the generated markup for
the remote site
Supports
 Secure browser (HTTPS)
 Cross-Origin Resouce Sharing (CORS)
Demo Lightning Out
What is Lightning?
a. A new User Experience for Salesforce
b. A set of tools to visually build apps on top of Salesforce
c. A design system of tools and best practices for creating custom UIs
d. A component framework for building custom apps
e. ALL THE THINGS
Let’s talk
about this
for a sec
Build pixel-perfect apps every time, every where.
Design
Guidelines
Framework
Agnostic
Salesforce Lightning Design SystemNEW
Trust
UI
Library
Living
Design
CSS
Framework
http://trailhead.salesforce.com
References
Lightning in Visualforce Pages (blog) –
bit.ly/LightningOutBlog
Lightning in Visualforce Pages (doc) –
http://bit.ly/lo-vf-doc
Lightning Out Heroku Sample (code) -
https://github.com/dcarroll/heroku-lightning
Thank you
Lightning Out: Config and Usage
1. Enable My Domain (for Lightning Components)
2. Configure the remote site for CORS and a Connected App with Oauth
3. Create a Lightning App that extends ltng:outApp with dependencies for components
4. Include lightning.out.js in the remote site
<script
src="https://gs0.lightning.force.com/lightning/lightning.out.js"></scrip
t>
5. Authenticate with Salesforce OAuth using the Consumer Key
6. Initialize Lightning App with $Lightning.use, passing in the OAuth token
$Lightning.use(”namespace:appName", function() {}, oauth.instance_url,
oauth.access_token)
7. Add the components to the remote site using $Lightning.createComponent
$Lightning.createComponent(”namespace:cmpName", {}, ”DOMelementId”,
function(cmp) {});

Contenu connexe

En vedette

Lightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldLightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldSalesforce Developers
 
Lightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with SalesforceLightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with SalesforceSalesforce Developers
 
Two-Way Integration with Writable External Objects
Two-Way Integration with Writable External ObjectsTwo-Way Integration with Writable External Objects
Two-Way Integration with Writable External ObjectsSalesforce Developers
 
Secure Salesforce: Lightning Components Best Practices
Secure Salesforce: Lightning Components Best PracticesSecure Salesforce: Lightning Components Best Practices
Secure Salesforce: Lightning Components Best PracticesSalesforce Developers
 
Access External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning ConnectAccess External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning ConnectSalesforce Developers
 
Internet of things the salesforce lego machine cloud
Internet of things   the salesforce lego machine cloudInternet of things   the salesforce lego machine cloud
Internet of things the salesforce lego machine cloudandyinthecloud
 

En vedette (7)

Lightning Connect: Lessons Learned
Lightning Connect: Lessons LearnedLightning Connect: Lessons Learned
Lightning Connect: Lessons Learned
 
Lightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldLightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the World
 
Lightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with SalesforceLightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with Salesforce
 
Two-Way Integration with Writable External Objects
Two-Way Integration with Writable External ObjectsTwo-Way Integration with Writable External Objects
Two-Way Integration with Writable External Objects
 
Secure Salesforce: Lightning Components Best Practices
Secure Salesforce: Lightning Components Best PracticesSecure Salesforce: Lightning Components Best Practices
Secure Salesforce: Lightning Components Best Practices
 
Access External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning ConnectAccess External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning Connect
 
Internet of things the salesforce lego machine cloud
Internet of things   the salesforce lego machine cloudInternet of things   the salesforce lego machine cloud
Internet of things the salesforce lego machine cloud
 

Plus de Mary Scotton

Ela Conf 2016 Opening Keynote
Ela Conf 2016 Opening KeynoteEla Conf 2016 Opening Keynote
Ela Conf 2016 Opening KeynoteMary Scotton
 
Bridging the Technology Talent Gap - 100M Dev Opportunity
Bridging the Technology Talent Gap - 100M Dev OpportunityBridging the Technology Talent Gap - 100M Dev Opportunity
Bridging the Technology Talent Gap - 100M Dev OpportunityMary Scotton
 
Build an Inclusive Tech Community Using Product Design Principles
Build an Inclusive Tech Community Using Product Design PrinciplesBuild an Inclusive Tech Community Using Product Design Principles
Build an Inclusive Tech Community Using Product Design PrinciplesMary Scotton
 
Inclusion is the Glue
Inclusion is the GlueInclusion is the Glue
Inclusion is the GlueMary Scotton
 
Southeast Dreaming' Keynote
Southeast Dreaming' Keynote Southeast Dreaming' Keynote
Southeast Dreaming' Keynote Mary Scotton
 
Defrag 2015 - Hacking the Tech Workforce
Defrag 2015 - Hacking the Tech WorkforceDefrag 2015 - Hacking the Tech Workforce
Defrag 2015 - Hacking the Tech WorkforceMary Scotton
 
Dreamforce 2015 - Hack the Tech Workforce
Dreamforce 2015 - Hack the Tech WorkforceDreamforce 2015 - Hack the Tech Workforce
Dreamforce 2015 - Hack the Tech WorkforceMary Scotton
 
Gluecon - Hacking the Tech Workforce
Gluecon - Hacking the Tech WorkforceGluecon - Hacking the Tech Workforce
Gluecon - Hacking the Tech WorkforceMary Scotton
 
How to Self-Promote without Bragging (Lean In Circle)
How to Self-Promote without Bragging (Lean In Circle)How to Self-Promote without Bragging (Lean In Circle)
How to Self-Promote without Bragging (Lean In Circle)Mary Scotton
 
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)Mary Scotton
 
Salesforce: Go Faster with Lightning (DocuSign DevCon)
Salesforce: Go Faster with Lightning (DocuSign DevCon)Salesforce: Go Faster with Lightning (DocuSign DevCon)
Salesforce: Go Faster with Lightning (DocuSign DevCon)Mary Scotton
 

Plus de Mary Scotton (11)

Ela Conf 2016 Opening Keynote
Ela Conf 2016 Opening KeynoteEla Conf 2016 Opening Keynote
Ela Conf 2016 Opening Keynote
 
Bridging the Technology Talent Gap - 100M Dev Opportunity
Bridging the Technology Talent Gap - 100M Dev OpportunityBridging the Technology Talent Gap - 100M Dev Opportunity
Bridging the Technology Talent Gap - 100M Dev Opportunity
 
Build an Inclusive Tech Community Using Product Design Principles
Build an Inclusive Tech Community Using Product Design PrinciplesBuild an Inclusive Tech Community Using Product Design Principles
Build an Inclusive Tech Community Using Product Design Principles
 
Inclusion is the Glue
Inclusion is the GlueInclusion is the Glue
Inclusion is the Glue
 
Southeast Dreaming' Keynote
Southeast Dreaming' Keynote Southeast Dreaming' Keynote
Southeast Dreaming' Keynote
 
Defrag 2015 - Hacking the Tech Workforce
Defrag 2015 - Hacking the Tech WorkforceDefrag 2015 - Hacking the Tech Workforce
Defrag 2015 - Hacking the Tech Workforce
 
Dreamforce 2015 - Hack the Tech Workforce
Dreamforce 2015 - Hack the Tech WorkforceDreamforce 2015 - Hack the Tech Workforce
Dreamforce 2015 - Hack the Tech Workforce
 
Gluecon - Hacking the Tech Workforce
Gluecon - Hacking the Tech WorkforceGluecon - Hacking the Tech Workforce
Gluecon - Hacking the Tech Workforce
 
How to Self-Promote without Bragging (Lean In Circle)
How to Self-Promote without Bragging (Lean In Circle)How to Self-Promote without Bragging (Lean In Circle)
How to Self-Promote without Bragging (Lean In Circle)
 
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
 
Salesforce: Go Faster with Lightning (DocuSign DevCon)
Salesforce: Go Faster with Lightning (DocuSign DevCon)Salesforce: Go Faster with Lightning (DocuSign DevCon)
Salesforce: Go Faster with Lightning (DocuSign DevCon)
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 

Put Lightning Out in All the Things

  • 1. Put Lightning Out in ALL THE THINGS Use your Lightning Components anywhere Mary Scotton Principal Developer Evangelist mscotton@salesforce.com @rockchick322004 www.maryscotton.com
  • 2. Forward Looking Statements 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 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.
  • 3. FORCE HEROKU ENTERPRISE Model-driven development platform Polyglot platform for elastic scale APPEXCHANGE #1 Enterprise App Marketplace LIGHTNING THUNDER Stream & event- based primitives Modern HTML5 Framework TRAILHEAD Fun, easy, interactive way to learn App Cloud Salesforce App Cloud
  • 4. Let’s do a quick Lightning Recap Before we talk about Lightning Out What is Lightning? a. A new User Experience for Salesforce b. A set of tools to visually build apps on top of Salesforce c. A design system of tools and best practices for creating custom UIs d. A component framework for building custom apps e. ALL THE THINGS Correct Answer What we’re talking about today
  • 6. What are Lightning Components? Lightning 101 • UI Framework bridges the client (JS) and server (Apex) • Reusable building blocks for an app • Designed for mobile and desktop apps • Built on the open source Aura framework
  • 7. Developer Benefits from Lightning Components Lightning 101  Enables your admins in Lightning App Builder & Community Builder  Less Page Refreshes & tightly integrated  Responsive and mobile friendly client-centric design  Modular and event-driven architecture  Device-aware with cross browser compatibility  Reusability  Future of the platform!
  • 8. Anatomy of a Component D Component <c:HotelList/> Apex ControllerInterfaces Attributes Markup Cmp Bundle Data Binding My Hotel App Hotel Map Hotel List Hotel List Item
  • 10. Demo of Lightning Components for Visualforce
  • 11. Recap: Lightning Components in Visualforce There are only three steps necessary to integrate components: 1. Add <apex:includeLightning/> to your Visualforce page 2. Tell your Visualforce page which Lightning app to use 3. Write a function that creates the component on the page
  • 15. Lightning Out Requirements  Valid Salesforce session ID (SID), for example from Oauth  Ability to modify the generated markup for the remote site Supports  Secure browser (HTTPS)  Cross-Origin Resouce Sharing (CORS)
  • 17. What is Lightning? a. A new User Experience for Salesforce b. A set of tools to visually build apps on top of Salesforce c. A design system of tools and best practices for creating custom UIs d. A component framework for building custom apps e. ALL THE THINGS Let’s talk about this for a sec
  • 18. Build pixel-perfect apps every time, every where. Design Guidelines Framework Agnostic Salesforce Lightning Design SystemNEW Trust UI Library Living Design CSS Framework
  • 20. References Lightning in Visualforce Pages (blog) – bit.ly/LightningOutBlog Lightning in Visualforce Pages (doc) – http://bit.ly/lo-vf-doc Lightning Out Heroku Sample (code) - https://github.com/dcarroll/heroku-lightning
  • 22. Lightning Out: Config and Usage 1. Enable My Domain (for Lightning Components) 2. Configure the remote site for CORS and a Connected App with Oauth 3. Create a Lightning App that extends ltng:outApp with dependencies for components 4. Include lightning.out.js in the remote site <script src="https://gs0.lightning.force.com/lightning/lightning.out.js"></scrip t> 5. Authenticate with Salesforce OAuth using the Consumer Key 6. Initialize Lightning App with $Lightning.use, passing in the OAuth token $Lightning.use(”namespace:appName", function() {}, oauth.instance_url, oauth.access_token) 7. Add the components to the remote site using $Lightning.createComponent $Lightning.createComponent(”namespace:cmpName", {}, ”DOMelementId”, function(cmp) {});