SlideShare a Scribd company logo
Develop Your First Lightning Web Component
with DX
Speaker Details
Abdul Gafoor
@abdulgafoor__r
abdulmfg
3
Point to
Point
Integration
Challenges
Solution –
Event Driven
Architecture
Understanding
Platform
Events
Demo
Q & A
Need for Lightning Web Components (LWC)
Environment required for LWC
Developing Lightning Web Components
Deployment of Lightning Web Components
Q & A
Agenda
Need for
Lightning Web
Components?
Lightning Aura Components vs Lightning Web Components 5
Lightning Aura
Component
Lightning Web
Component
Aura Framework Shadow Dom
Modern
JavaScrip
t
Custom
Elements
Template
s
Page driven architecture(Visualforce Pages)
Evolution of Web Technologies
Modern Web Standards(Lightning Web Components)
Component based architecture(Aura Components)
6
What is a
Lightning Web Component?
What is LWC? 8
● A new programming model for building Lightning
components
● Built using HTML and modern JavaScript
● Code runs natively in browsers
● Uses Modern Web Standards
Lightning Web
Component Bundle
Component Bundle 10
Component Bundle
HTML file
(myFirstComponent.html
)
JavaScript file
(myFirstComponent.js)
js-meta.xml file
(Configuration file)
(myFirstComponent.js-
meta.xml)
CSS file
(myFirstComponent.css)
svg file
(myFirstComponent.svg)
Additional JavaScript
files for Sharing Code
(utility.js)
Set up environment
for LWC
Set up environment for LWC 12
● Install the Salesforce CLI
● Install a Code Editor(VS Code)
● Salesforce Extension Pack for VS Code
● Lightning Web Components Extension Pack for VS Code
● Enable My Domain in your Salesforce Org
13Introduction to Salesforce DX
● Why DX?
○ Limitations of traditional development cycle.
● What is DX?
○ Standard Developer Experience
○ Git,Selenium, Eclipse, Sublime
○ Tool set
○ CLI
Developing
Lightning Web Components
Types of Decorators 15
● @api - used to set the variables or the properties as
public
● @track - used to map the changing values of the
properties and rerender the component when
properties change (Private reactive properties)
● @wire - used to make a server-side call
Developing LWC 16
● Creating LWC
● Using decorators while developing the component
● Adding CSS to the component
● Deploying the components
● Viewing the components in the Salesforce Org
Deploying LWC 17
● Through VS-Code to Org
● Through Changesets
18Aura Component and SFDX
● Create an Aura component
● Deploy using SFDX
Comparison between Aura and LWC 19
Features Aura LWC
Quick action support
Performance
Response Time
Component Based
Support for Unit Test
What’s Next
Get Hands-on with Trailhead 21
Quick Start :
Lightning Web
Components
Lightning Web
Component Basics
Modern Javascript
Development
Q & A Time ! 22
Questions?
Additional Resources 23
● Salesforce Documentation
● Salesforce CLI
● VS Code
● LWC-recipes
● Playground

More Related Content

PDF
How to keep maintainability of long life Scala applications
PDF
Spring and Summer '19 Development Feature Highlights
PDF
GitBucket: Git Centric Software Development Platform by Scala
PDF
What's new in Gradle 4.0
PPTX
SSR with React - Connecting Next.js with WordPress
PDF
Promise of DevOps
PPTX
Next.js vs React | what to choose for frontend development_
PDF
Laravel workshop
How to keep maintainability of long life Scala applications
Spring and Summer '19 Development Feature Highlights
GitBucket: Git Centric Software Development Platform by Scala
What's new in Gradle 4.0
SSR with React - Connecting Next.js with WordPress
Promise of DevOps
Next.js vs React | what to choose for frontend development_
Laravel workshop

What's hot (20)

PDF
Tabtale story: Building a publishing and monitoring mobile games architecture...
PPTX
Ansible: Infrastructure as Code for OpenShift
PPTX
Cross-platform JavaScript
PDF
Migrating a build farm from on-prem to AWS
PDF
Defrag 2014 - Blend Web IDEs, Open Source and PaaS to Create and Deploy APIs
PDF
Config management for_kubernetes: GitOps + Helm (CfgMgmtCamp 2020)
PPT
Introduction to Grails
PDF
Making your app soar without a container manifest
PDF
Modern Monitoring - SysAdminDay 2017
PDF
Javantura v4 - Android App Development in 2017 - Matej Vidaković
PPTX
A (XPages) developers guide to Cloudant - MeetIT
PDF
Javantura v4 - Angular2 - Ionic2 - from birth to stable versions - Hrvoje Pek...
PDF
DevOps: Coding Defines Monitoring
PDF
Confoo - DevOps & Agile Infrastructure
PDF
Blazing fast sites using Blaze, Hybrid CMS NYC
PPTX
Neo4J and Grails
PDF
Cncf storage-final-filip
PDF
The Four Quadrant Model of Monitoring Streaming Data Infrastructure | Praveen...
PDF
Putting The 'M' In MBaaS—Red Hat Mobile Client Development Platform (Jay Balu...
PDF
Front end microservices: architectures and solution
Tabtale story: Building a publishing and monitoring mobile games architecture...
Ansible: Infrastructure as Code for OpenShift
Cross-platform JavaScript
Migrating a build farm from on-prem to AWS
Defrag 2014 - Blend Web IDEs, Open Source and PaaS to Create and Deploy APIs
Config management for_kubernetes: GitOps + Helm (CfgMgmtCamp 2020)
Introduction to Grails
Making your app soar without a container manifest
Modern Monitoring - SysAdminDay 2017
Javantura v4 - Android App Development in 2017 - Matej Vidaković
A (XPages) developers guide to Cloudant - MeetIT
Javantura v4 - Angular2 - Ionic2 - from birth to stable versions - Hrvoje Pek...
DevOps: Coding Defines Monitoring
Confoo - DevOps & Agile Infrastructure
Blazing fast sites using Blaze, Hybrid CMS NYC
Neo4J and Grails
Cncf storage-final-filip
The Four Quadrant Model of Monitoring Streaming Data Infrastructure | Praveen...
Putting The 'M' In MBaaS—Red Hat Mobile Client Development Platform (Jay Balu...
Front end microservices: architectures and solution
Ad

Similar to Lightning Web Components by Abdul Gafoor (20)

PPTX
Episode 16 - Introduction to LWC
PPTX
Getting Started with Lightning Web Components | LWC | Salesforce
PPTX
Live Session1 lightning web component
PPT
Migrate To Lightning Web Components from Aura framework to increase performance
PPTX
Salesforce Lightning Web Components Overview
PDF
Introduction to Lightning Web Components
PPTX
Introduction to lightning Web Component
PPTX
Introduction to lightning web component
PPTX
Intro to Lightning Web Components
PPTX
Lightning Web Component in Salesforce
PPTX
Lightning Web Component - LWC
PPTX
RVA intro to LWC- Salesforce Dev Week
PPTX
Lightning web components
PPTX
An Introduction to Lightning Web Components
PDF
Intro to lwc - dev week slides
PDF
Lightning Web Components- Ep 0 - Introduction
PPTX
Intro to Salesforce Lightning Web Components (LWC)
PDF
Lightning Components Explained
PPTX
Lightning web components
PPTX
Lightning web components - Introduction, component Lifecycle, Events, decorat...
Episode 16 - Introduction to LWC
Getting Started with Lightning Web Components | LWC | Salesforce
Live Session1 lightning web component
Migrate To Lightning Web Components from Aura framework to increase performance
Salesforce Lightning Web Components Overview
Introduction to Lightning Web Components
Introduction to lightning Web Component
Introduction to lightning web component
Intro to Lightning Web Components
Lightning Web Component in Salesforce
Lightning Web Component - LWC
RVA intro to LWC- Salesforce Dev Week
Lightning web components
An Introduction to Lightning Web Components
Intro to lwc - dev week slides
Lightning Web Components- Ep 0 - Introduction
Intro to Salesforce Lightning Web Components (LWC)
Lightning Components Explained
Lightning web components
Lightning web components - Introduction, component Lifecycle, Events, decorat...
Ad

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
KodekX | Application Modernization Development
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Electronic commerce courselecture one. Pdf
Spectroscopy.pptx food analysis technology
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
KodekX | Application Modernization Development
Programs and apps: productivity, graphics, security and other tools
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx

Lightning Web Components by Abdul Gafoor