Lightning Components
March 26, 2015
Raja Rao DV
Developer Evangelist
@rajaraodv
Skip Sauls
Director, 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
Connect
Process
Builder
App
Builder
Component
Framework
Component Frameworks Are The Future
All leading platform companies are investing in component frameworks
Google
Polymer
Facebook
React
Salesforce
Lightning
Twitter
Flight
Mozilla
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 DV
Developer Evangelist
@rajaraodv
Skip Sauls
Sr. Director, Product Management

Build Next-gen Apps Faster with Lightning Components

  • 1.
  • 2.
    Raja Rao DV DeveloperEvangelist @rajaraodv Skip Sauls Director, Product Management
  • 3.
    Safe Harbor Safe harborstatement 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.
  • 4.
    Agenda  High leveloverview 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
  • 5.
  • 6.
  • 7.
    Component Frameworks AreThe Future All leading platform companies are investing in component frameworks Google Polymer Facebook React Salesforce Lightning Twitter Flight Mozilla Brick
  • 8.
    What can Ibuild? 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)
  • 9.
    Salesforce1 Mobile –Built using Lightning Components
  • 10.
    Lightning App Builder– Built Using LC
  • 11.
    Lightning Process Builder- Built using LC
  • 12.
    Developing LC fromSublime Text Editor
  • 13.
    Lightning Sublime Plugin SublimeText - 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
  • 14.
  • 15.
    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
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
    http://developer.salesforce.com/calendar • Lightning AppBuilder • Lightning Component Framework • Lightning Process Builder • Lightning Connect Lightning Deep Dive Webinars
  • 24.
    Use this linkto 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
  • 25.
    Pave Your OwnTrail http://developer.salesforce.com/trailhead
  • 26.
  • 27.
    Raja Rao DV DeveloperEvangelist @rajaraodv Skip Sauls Sr. Director, Product Management