SlideShare a Scribd company logo
Lightning Component Framework from 0
to App
Stevano Cheung
Diego Szuster Marcal
Forward-Looking Statements
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.
Diego Szuster Marcal
Linkedin: diszma
dszustermarcal@suitsupply.com
Developer, Suitsupply
Linkedin: stevano-cheung
scheung@suitsupply.com
Developer, Suitsupply
Stevano Cheung
Lightning Component Framework from 0 to App
Agenda
What is the Lightning Component Framework?
Lightning Components in Action (demo)
Lightning Components @ Suitsupply (demo)
Review
1
2
3
4
Lightning Component Framework
Built on the open source Aura framework
Used to develop dynamic mobile and
web applications
Event-driven architecture
Extendable and Reusable
Lightning Components
Visualforce vs. Lightning
Visualforce "Page-Centric Model"
1. Browser requests page
Client Server
4. Browser renders html
2. Server executes Apex code
3. Server returns page (html + data)
Lightning "App-Centric Model"
1. Browser requests Component
Client Server
3. Browser builds UI with JavaScript
4. Browser requests data
7. Back to 3
2. Server returns Component Bundle
5. Server executes Apex
6. Server returns data (data only!)
UI Markup
Data binding
Attributes
Component
Lightning Component Bundles
Lightning Component Framework from 0 to App
UI Markup
Data binding
Attributes
Component
Event
Handlers
Controller
UI Markup
Data binding
Attributes
Lightning Component Bundles
Lightning Component Framework from 0 to App
UI Markup
Data binding
Attributes
Component
Event
Handlers
Controller
UI Markup
Attributes
Style
Encapsulated
CSS
Lightning Component Bundles
Lightning Component Framework from 0 to App
UI Markup
Data binding
Attributes
Component
Event
Handlers
Controller
Shared
Logic
HelperStyle
Encapsulated
CSS
Lightning Component Framework from 0 to App
Lightning Component Bundles
Demo
Lightning Components in Action
Lightning Component Framework from 0 to App
Application Event Broker
Event Object
Product
<aura:registerEvent name="productClicked"
type="c:productClicked"/>
<aura:handler event="c:productClicked"
action="{c.handleAppEvent}"/>
ProductList
The Box Office
Lightning Component Framework from 0 to App
The Box Office
Lightning Component Framework from 0 to App
Lightning Component Framework from 0 to App
<!-- component -->
<aura:attribute name=”suitSize" type="String"/>
<aura:attribute name=”baseColors" type="List"/>
<aura:attribute name="amount" type="Integer"/>
/* controller */
component.set('v.oppId', response.oppId);
component.set('v.baseColors', response.baseColors);
component.set('v.amount', response.amount);
<c:boxPreparation oppId="0069E000002Hfwx"/>
Lightning Component Framework from 0 to App
<c:breadcrumb values="{!v.bcOptions}"/>
<c:title value="Box Preparation"
fontSize="22px">
<c:picklist values="['24 / 38S', ’25 / 39', …]"
label="Suit size"
isMulti="false"
selected="{!v.suitSize}"/>
Lightning Component Framework from 0 to App
<c:expandable title="Sizes”>
<c:customerSizes suitSize="{!v.suitSize}"
coatSize="{!v.coatSize}”
.../>
</c:expandable>
<c:footer qty="{!v.qty}"
total="{!v.amount}"/>
<c:expandable title=”Styles”>
<c:customerStyles styles="{!v.styles}"
fit="{!v.fit}"/>
</c:expandable>
Lightning Component Framework from 0 to App
<c:boxPreparation oppId="0069E000002Hfwx"/>
Lightning Component Framework from 0 to App
<!-- boxPreparation.cmp -->
<aura:component>
<!-- attributes -->
<aura:attribute name="suitSize" type="String"/>
<aura:attribute name="baseColors" type="List"/>
<aura:attribute name="amount" type="Integer"/>
<c:footer qty="{!v.qty}…"/>
</aura:component>
<!-- components -->
<c:breadcrumb values=”{!v.bcOptions}"/>
<c:title value="Box Preparation"…/>
<c:expandable title="Sizes">
<c:customerSizes suitSize="{!v.suitSize}"…/>
</c:expandable>
<c:expandable title="Styles">
<c:customerStyles fit="{!v.fit}"…/>
</c:expandable>
Demo
Lightning Components Composition
Summary
Lightning Components are flexible and reusable
You can use Lightning Design System and your own styles
You can compose apps in many different ways
It’s a lot of fun !!
1
2
3
4
THANK YOU
Ad

More Related Content

What's hot (20)

Introducing the Salesforce Lightning Design System
Introducing the Salesforce Lightning Design SystemIntroducing the Salesforce Lightning Design System
Introducing the Salesforce Lightning Design System
Salesforce Developers
 
Salesforce Lightning Customization Roadmap (TDX18)
Salesforce Lightning Customization Roadmap (TDX18)Salesforce Lightning Customization Roadmap (TDX18)
Salesforce Lightning Customization Roadmap (TDX18)
Developer Force
 
New Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a FlashNew Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a Flash
Dreamforce
 
Salesforce Lightning Component Framework Roadmap (TDX18)
Salesforce Lightning Component Framework Roadmap (TDX18)Salesforce Lightning Component Framework Roadmap (TDX18)
Salesforce Lightning Component Framework Roadmap (TDX18)
Developer Force
 
Salesforce Lightning Supersession (TDX18)
Salesforce Lightning Supersession (TDX18)Salesforce Lightning Supersession (TDX18)
Salesforce Lightning Supersession (TDX18)
Developer Force
 
Lightning Components - Advanced Features
Lightning Components - Advanced FeaturesLightning Components - Advanced Features
Lightning Components - Advanced Features
Salesforce Developers
 
Webinar: Build Apps Customers Love as a Salesforce Developer
Webinar: Build Apps Customers Love as a Salesforce DeveloperWebinar: Build Apps Customers Love as a Salesforce Developer
Webinar: Build Apps Customers Love as a Salesforce Developer
Salesforce Developers
 
Gesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT ExplorerGesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT Explorer
Salesforce Developers
 
#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform
Salesforce Developers
 
Snap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile AppsSnap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile Apps
Salesforce Developers
 
Preparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with ActionsPreparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with Actions
Mike White
 
Salesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - IntroductionSalesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - Introduction
John Stevenson
 
Build Smarter Apps with Einstein Platform Services
Build Smarter Apps with Einstein Platform ServicesBuild Smarter Apps with Einstein Platform Services
Build Smarter Apps with Einstein Platform Services
Salesforce Developers
 
Unleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime DebuggerUnleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime Debugger
Salesforce Developers
 
Summer '18 Developer Highlights
Summer '18 Developer HighlightsSummer '18 Developer Highlights
Summer '18 Developer Highlights
Salesforce Developers
 
Spring '16 Lightning Update for ISVs (March 15, 2016)
Spring '16 Lightning Update for ISVs (March 15, 2016)Spring '16 Lightning Update for ISVs (March 15, 2016)
Spring '16 Lightning Update for ISVs (March 15, 2016)
Salesforce Partners
 
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform #Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
Salesforce Developers
 
Build and Package Lightning Components for Lightning Exchange
Build and Package Lightning Components for Lightning ExchangeBuild and Package Lightning Components for Lightning Exchange
Build and Package Lightning Components for Lightning Exchange
Salesforce Developers
 
Introduction to Einstein Bots
Introduction to Einstein Bots Introduction to Einstein Bots
Introduction to Einstein Bots
Salesforce Developers
 
Build Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community CloudBuild Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community Cloud
Salesforce Developers
 
Introducing the Salesforce Lightning Design System
Introducing the Salesforce Lightning Design SystemIntroducing the Salesforce Lightning Design System
Introducing the Salesforce Lightning Design System
Salesforce Developers
 
Salesforce Lightning Customization Roadmap (TDX18)
Salesforce Lightning Customization Roadmap (TDX18)Salesforce Lightning Customization Roadmap (TDX18)
Salesforce Lightning Customization Roadmap (TDX18)
Developer Force
 
New Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a FlashNew Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a Flash
Dreamforce
 
Salesforce Lightning Component Framework Roadmap (TDX18)
Salesforce Lightning Component Framework Roadmap (TDX18)Salesforce Lightning Component Framework Roadmap (TDX18)
Salesforce Lightning Component Framework Roadmap (TDX18)
Developer Force
 
Salesforce Lightning Supersession (TDX18)
Salesforce Lightning Supersession (TDX18)Salesforce Lightning Supersession (TDX18)
Salesforce Lightning Supersession (TDX18)
Developer Force
 
Lightning Components - Advanced Features
Lightning Components - Advanced FeaturesLightning Components - Advanced Features
Lightning Components - Advanced Features
Salesforce Developers
 
Webinar: Build Apps Customers Love as a Salesforce Developer
Webinar: Build Apps Customers Love as a Salesforce DeveloperWebinar: Build Apps Customers Love as a Salesforce Developer
Webinar: Build Apps Customers Love as a Salesforce Developer
Salesforce Developers
 
Gesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT ExplorerGesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT Explorer
Salesforce Developers
 
#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform
Salesforce Developers
 
Snap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile AppsSnap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile Apps
Salesforce Developers
 
Preparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with ActionsPreparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with Actions
Mike White
 
Salesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - IntroductionSalesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - Introduction
John Stevenson
 
Build Smarter Apps with Einstein Platform Services
Build Smarter Apps with Einstein Platform ServicesBuild Smarter Apps with Einstein Platform Services
Build Smarter Apps with Einstein Platform Services
Salesforce Developers
 
Unleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime DebuggerUnleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime Debugger
Salesforce Developers
 
Spring '16 Lightning Update for ISVs (March 15, 2016)
Spring '16 Lightning Update for ISVs (March 15, 2016)Spring '16 Lightning Update for ISVs (March 15, 2016)
Spring '16 Lightning Update for ISVs (March 15, 2016)
Salesforce Partners
 
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform #Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
Salesforce Developers
 
Build and Package Lightning Components for Lightning Exchange
Build and Package Lightning Components for Lightning ExchangeBuild and Package Lightning Components for Lightning Exchange
Build and Package Lightning Components for Lightning Exchange
Salesforce Developers
 
Build Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community CloudBuild Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community Cloud
Salesforce Developers
 

Viewers also liked (9)

Build Apps Visually with Lightning App Builder
Build Apps Visually with Lightning App BuilderBuild Apps Visually with Lightning App Builder
Build Apps Visually with Lightning App Builder
Salesforce Developers
 
Best Practices for Lightning Apps
Best Practices for Lightning AppsBest Practices for Lightning Apps
Best Practices for Lightning Apps
Mark Adcock
 
synebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightningsynebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightning
Anna Kryvulya
 
Salesforce Lightning workshop
Salesforce Lightning workshopSalesforce Lightning workshop
Salesforce Lightning workshop
Shivanath Devinarayanan
 
Building a Single Page App with Lightning Components
Building a Single Page App with Lightning ComponentsBuilding a Single Page App with Lightning Components
Building a Single Page App with Lightning Components
Salesforce Developers
 
Customize Salesforce in a Flash with Lightning
Customize Salesforce in a Flash with LightningCustomize Salesforce in a Flash with Lightning
Customize Salesforce in a Flash with Lightning
Salesforce Admins
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
Akhil Anil ☁
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
SlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
SlideShare
 
Build Apps Visually with Lightning App Builder
Build Apps Visually with Lightning App BuilderBuild Apps Visually with Lightning App Builder
Build Apps Visually with Lightning App Builder
Salesforce Developers
 
Best Practices for Lightning Apps
Best Practices for Lightning AppsBest Practices for Lightning Apps
Best Practices for Lightning Apps
Mark Adcock
 
synebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightningsynebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightning
Anna Kryvulya
 
Building a Single Page App with Lightning Components
Building a Single Page App with Lightning ComponentsBuilding a Single Page App with Lightning Components
Building a Single Page App with Lightning Components
Salesforce Developers
 
Customize Salesforce in a Flash with Lightning
Customize Salesforce in a Flash with LightningCustomize Salesforce in a Flash with Lightning
Customize Salesforce in a Flash with Lightning
Salesforce Admins
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
Akhil Anil ☁
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
SlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
SlideShare
 
Ad

Similar to Lightning Component Framework from 0 to App (20)

Developers Introduction To Lightning
Developers Introduction To LightningDevelopers Introduction To Lightning
Developers Introduction To Lightning
Chris Bacon
 
Modern UI development with Lightning Components - Spanish!
Modern UI development with Lightning Components - Spanish!Modern UI development with Lightning Components - Spanish!
Modern UI development with Lightning Components - Spanish!
Alba Azcona Rivas
 
Salesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to appSalesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to app
Roy Gilad
 
Create Lightning with Lightning & IoT
Create Lightning with Lightning & IoTCreate Lightning with Lightning & IoT
Create Lightning with Lightning & IoT
Salesforce Developers
 
Create Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoTCreate Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoT
NetStronghold
 
Build lightning components with salesforce dx
Build lightning components with salesforce dxBuild lightning components with salesforce dx
Build lightning components with salesforce dx
Shashank Srivatsavaya (ShashForce)
 
Lightning Flow: The Best Feature You're Not Using
Lightning Flow: The Best Feature You're Not UsingLightning Flow: The Best Feature You're Not Using
Lightning Flow: The Best Feature You're Not Using
Salesforce Admins
 
Présentation de la platefome Heroku
Présentation de la platefome HerokuPrésentation de la platefome Heroku
Présentation de la platefome Heroku
Thierry TROUIN ☁
 
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTipsアドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
Salesforce Developers Japan
 
Intro to Lightning Components - Dreamforce 2016
Intro to Lightning Components - Dreamforce 2016Intro to Lightning Components - Dreamforce 2016
Intro to Lightning Components - Dreamforce 2016
Laura Meerkatz
 
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
 
Detroit ELEVATE Track 1
Detroit ELEVATE Track 1Detroit ELEVATE Track 1
Detroit ELEVATE Track 1
Joshua Birk
 
Using Salesforce to Manage Your Developer Community
Using Salesforce to Manage Your Developer CommunityUsing Salesforce to Manage Your Developer Community
Using Salesforce to Manage Your Developer Community
Pat Patterson
 
TrailheaDX Global Gathering London 2018
TrailheaDX Global Gathering London 2018TrailheaDX Global Gathering London 2018
TrailheaDX Global Gathering London 2018
Keir Bowden
 
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, AnywhereData Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Salesforce Developers
 
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJSBuild Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Salesforce Developers
 
A Beginner's Guide to Lightning Components by Niels Bryna-Low
A Beginner's Guide to Lightning Components by Niels Bryna-LowA Beginner's Guide to Lightning Components by Niels Bryna-Low
A Beginner's Guide to Lightning Components by Niels Bryna-Low
Salesforce Admins
 
Einstein Analytics for Developers
Einstein Analytics for DevelopersEinstein Analytics for Developers
Einstein Analytics for Developers
Salesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
Spring '19 Release-in-a-Box
Spring '19 Release-in-a-BoxSpring '19 Release-in-a-Box
Spring '19 Release-in-a-Box
Marc Lester
 
Developers Introduction To Lightning
Developers Introduction To LightningDevelopers Introduction To Lightning
Developers Introduction To Lightning
Chris Bacon
 
Modern UI development with Lightning Components - Spanish!
Modern UI development with Lightning Components - Spanish!Modern UI development with Lightning Components - Spanish!
Modern UI development with Lightning Components - Spanish!
Alba Azcona Rivas
 
Salesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to appSalesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to app
Roy Gilad
 
Create Lightning with Lightning & IoT
Create Lightning with Lightning & IoTCreate Lightning with Lightning & IoT
Create Lightning with Lightning & IoT
Salesforce Developers
 
Create Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoTCreate Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoT
NetStronghold
 
Lightning Flow: The Best Feature You're Not Using
Lightning Flow: The Best Feature You're Not UsingLightning Flow: The Best Feature You're Not Using
Lightning Flow: The Best Feature You're Not Using
Salesforce Admins
 
Présentation de la platefome Heroku
Présentation de la platefome HerokuPrésentation de la platefome Heroku
Présentation de la platefome Heroku
Thierry TROUIN ☁
 
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTipsアドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
Salesforce Developers Japan
 
Intro to Lightning Components - Dreamforce 2016
Intro to Lightning Components - Dreamforce 2016Intro to Lightning Components - Dreamforce 2016
Intro to Lightning Components - Dreamforce 2016
Laura Meerkatz
 
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
 
Detroit ELEVATE Track 1
Detroit ELEVATE Track 1Detroit ELEVATE Track 1
Detroit ELEVATE Track 1
Joshua Birk
 
Using Salesforce to Manage Your Developer Community
Using Salesforce to Manage Your Developer CommunityUsing Salesforce to Manage Your Developer Community
Using Salesforce to Manage Your Developer Community
Pat Patterson
 
TrailheaDX Global Gathering London 2018
TrailheaDX Global Gathering London 2018TrailheaDX Global Gathering London 2018
TrailheaDX Global Gathering London 2018
Keir Bowden
 
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, AnywhereData Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Salesforce Developers
 
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJSBuild Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Salesforce Developers
 
A Beginner's Guide to Lightning Components by Niels Bryna-Low
A Beginner's Guide to Lightning Components by Niels Bryna-LowA Beginner's Guide to Lightning Components by Niels Bryna-Low
A Beginner's Guide to Lightning Components by Niels Bryna-Low
Salesforce Admins
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
Spring '19 Release-in-a-Box
Spring '19 Release-in-a-BoxSpring '19 Release-in-a-Box
Spring '19 Release-in-a-Box
Marc Lester
 
Ad

Recently uploaded (20)

Steve Nickel What Can I Give 05.18.2025.pptx
Steve Nickel What Can I Give 05.18.2025.pptxSteve Nickel What Can I Give 05.18.2025.pptx
Steve Nickel What Can I Give 05.18.2025.pptx
FamilyWorshipCenterD
 
criminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaioscriminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaios
eleazaranghel023
 
Mastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident CommunicationMastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident Communication
karthikeyans20012004
 
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
hershtara1
 
New Labour Code which has been introduced recently
New Labour Code which has been introduced recentlyNew Labour Code which has been introduced recently
New Labour Code which has been introduced recently
MukeshKumarJangir2
 
Report on International Business about Mexico City
Report on International Business about Mexico CityReport on International Business about Mexico City
Report on International Business about Mexico City
SintiakHaque
 
A Brief Introduction About John Smith
A Brief Introduction About John SmithA Brief Introduction About John Smith
A Brief Introduction About John Smith
John Smith
 
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
NETWAYS
 
Guiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.pptGuiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.ppt
FelixOlalekanBabalol
 
The Role of Training and Development on Employee Performance: A Study on City...
The Role of Training and Development on Employee Performance: A Study on City...The Role of Training and Development on Employee Performance: A Study on City...
The Role of Training and Development on Employee Performance: A Study on City...
SintiakHaque
 
The Mettle of Honor 05.11.2025.pptx
The  Mettle  of  Honor   05.11.2025.pptxThe  Mettle  of  Honor   05.11.2025.pptx
The Mettle of Honor 05.11.2025.pptx
FamilyWorshipCenterD
 
All_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina KhatunAll_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina Khatun
DRJESMINAKHATUN
 
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Kayode Fayemi
 
Math Quiz Presentation in Red and Green Fun Style.pptx
Math Quiz Presentation in Red and Green Fun Style.pptxMath Quiz Presentation in Red and Green Fun Style.pptx
Math Quiz Presentation in Red and Green Fun Style.pptx
candrakurniawan56
 
fermentation presentation'. very easy ppt
fermentation presentation'. very easy pptfermentation presentation'. very easy ppt
fermentation presentation'. very easy ppt
naveenkumawatstar
 
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
NETWAYS
 
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdf
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdfSosa Modern Tech Company Presentation_20250513_022104_0000.pdf
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdf
tshepisowestuan
 
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdfHurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
Cross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdfCross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdf
rash64487
 
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
NETWAYS
 
Steve Nickel What Can I Give 05.18.2025.pptx
Steve Nickel What Can I Give 05.18.2025.pptxSteve Nickel What Can I Give 05.18.2025.pptx
Steve Nickel What Can I Give 05.18.2025.pptx
FamilyWorshipCenterD
 
criminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaioscriminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaios
eleazaranghel023
 
Mastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident CommunicationMastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident Communication
karthikeyans20012004
 
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
We Are The World-USA for Africa : Written By Lionel Richie And Michael Jackso...
hershtara1
 
New Labour Code which has been introduced recently
New Labour Code which has been introduced recentlyNew Labour Code which has been introduced recently
New Labour Code which has been introduced recently
MukeshKumarJangir2
 
Report on International Business about Mexico City
Report on International Business about Mexico CityReport on International Business about Mexico City
Report on International Business about Mexico City
SintiakHaque
 
A Brief Introduction About John Smith
A Brief Introduction About John SmithA Brief Introduction About John Smith
A Brief Introduction About John Smith
John Smith
 
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
stackconf 2025 | Building high-performance apps & controlling costs with CNCF...
NETWAYS
 
Guiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.pptGuiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.ppt
FelixOlalekanBabalol
 
The Role of Training and Development on Employee Performance: A Study on City...
The Role of Training and Development on Employee Performance: A Study on City...The Role of Training and Development on Employee Performance: A Study on City...
The Role of Training and Development on Employee Performance: A Study on City...
SintiakHaque
 
The Mettle of Honor 05.11.2025.pptx
The  Mettle  of  Honor   05.11.2025.pptxThe  Mettle  of  Honor   05.11.2025.pptx
The Mettle of Honor 05.11.2025.pptx
FamilyWorshipCenterD
 
All_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina KhatunAll_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina Khatun
DRJESMINAKHATUN
 
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Rethinking the Multipolar World and the Roles of Middle Powers: Nigeria as a ...
Kayode Fayemi
 
Math Quiz Presentation in Red and Green Fun Style.pptx
Math Quiz Presentation in Red and Green Fun Style.pptxMath Quiz Presentation in Red and Green Fun Style.pptx
Math Quiz Presentation in Red and Green Fun Style.pptx
candrakurniawan56
 
fermentation presentation'. very easy ppt
fermentation presentation'. very easy pptfermentation presentation'. very easy ppt
fermentation presentation'. very easy ppt
naveenkumawatstar
 
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
stackconf 2025 | Building a Hyperconverged Proxmox VE Cluster with Ceph by Jo...
NETWAYS
 
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdf
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdfSosa Modern Tech Company Presentation_20250513_022104_0000.pdf
Sosa Modern Tech Company Presentation_20250513_022104_0000.pdf
tshepisowestuan
 
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdfHurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
Cross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdfCross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdf
rash64487
 
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
NETWAYS
 

Lightning Component Framework from 0 to App

  • 1. Lightning Component Framework from 0 to App Stevano Cheung Diego Szuster Marcal
  • 2. Forward-Looking Statements 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. Diego Szuster Marcal Linkedin: diszma dszustermarcal@suitsupply.com Developer, Suitsupply
  • 6. Agenda What is the Lightning Component Framework? Lightning Components in Action (demo) Lightning Components @ Suitsupply (demo) Review 1 2 3 4
  • 7. Lightning Component Framework Built on the open source Aura framework Used to develop dynamic mobile and web applications Event-driven architecture Extendable and Reusable
  • 9. Visualforce "Page-Centric Model" 1. Browser requests page Client Server 4. Browser renders html 2. Server executes Apex code 3. Server returns page (html + data)
  • 10. Lightning "App-Centric Model" 1. Browser requests Component Client Server 3. Browser builds UI with JavaScript 4. Browser requests data 7. Back to 3 2. Server returns Component Bundle 5. Server executes Apex 6. Server returns data (data only!)
  • 11. UI Markup Data binding Attributes Component Lightning Component Bundles Lightning Component Framework from 0 to App
  • 12. UI Markup Data binding Attributes Component Event Handlers Controller UI Markup Data binding Attributes Lightning Component Bundles Lightning Component Framework from 0 to App
  • 13. UI Markup Data binding Attributes Component Event Handlers Controller UI Markup Attributes Style Encapsulated CSS Lightning Component Bundles Lightning Component Framework from 0 to App
  • 16. Lightning Component Framework from 0 to App Application Event Broker Event Object Product <aura:registerEvent name="productClicked" type="c:productClicked"/> <aura:handler event="c:productClicked" action="{c.handleAppEvent}"/> ProductList
  • 17. The Box Office Lightning Component Framework from 0 to App
  • 18. The Box Office Lightning Component Framework from 0 to App
  • 19. Lightning Component Framework from 0 to App <!-- component --> <aura:attribute name=”suitSize" type="String"/> <aura:attribute name=”baseColors" type="List"/> <aura:attribute name="amount" type="Integer"/> /* controller */ component.set('v.oppId', response.oppId); component.set('v.baseColors', response.baseColors); component.set('v.amount', response.amount); <c:boxPreparation oppId="0069E000002Hfwx"/>
  • 20. Lightning Component Framework from 0 to App <c:breadcrumb values="{!v.bcOptions}"/> <c:title value="Box Preparation" fontSize="22px"> <c:picklist values="['24 / 38S', ’25 / 39', …]" label="Suit size" isMulti="false" selected="{!v.suitSize}"/>
  • 21. Lightning Component Framework from 0 to App <c:expandable title="Sizes”> <c:customerSizes suitSize="{!v.suitSize}" coatSize="{!v.coatSize}” .../> </c:expandable> <c:footer qty="{!v.qty}" total="{!v.amount}"/> <c:expandable title=”Styles”> <c:customerStyles styles="{!v.styles}" fit="{!v.fit}"/> </c:expandable>
  • 22. Lightning Component Framework from 0 to App <c:boxPreparation oppId="0069E000002Hfwx"/>
  • 23. Lightning Component Framework from 0 to App <!-- boxPreparation.cmp --> <aura:component> <!-- attributes --> <aura:attribute name="suitSize" type="String"/> <aura:attribute name="baseColors" type="List"/> <aura:attribute name="amount" type="Integer"/> <c:footer qty="{!v.qty}…"/> </aura:component> <!-- components --> <c:breadcrumb values=”{!v.bcOptions}"/> <c:title value="Box Preparation"…/> <c:expandable title="Sizes"> <c:customerSizes suitSize="{!v.suitSize}"…/> </c:expandable> <c:expandable title="Styles"> <c:customerStyles fit="{!v.fit}"…/> </c:expandable>
  • 25. Summary Lightning Components are flexible and reusable You can use Lightning Design System and your own styles You can compose apps in many different ways It’s a lot of fun !! 1 2 3 4
  翻译: