SlideShare a Scribd company logo
SALESFORCE LIGHTNING
FRAMEWORK
By – SAMAR SAHA
AGENDA
2 Salesforce Lightning Component Framework
1 What is Salesforce Lightning?
3 Quick Demo
4 Salesforce Lightning Design System (SLDS)
5 Important links to go through
6 Assignment
SALESFORCE LIGHTNING
Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce
platform. Lightning includes:
• Experience: A set of modern user interfaces optimized for speed. This includes the Lightning
Experience, Salesforce1 Mobile app and template-based communities.
• Lightning Component Framework: A JavaScript framework and set of standard components that
allow you to build reusable components to customize the Lightning Experience.
• Visual Building Tools: Drag-and-drop technologies for fast and easy app building &
customizations. Use the Lightning App Builder to customize the Lightning Experience.
• Lightning Exchange: A section of the AppExchange where you can find 70+ partner components
to jumpstart your development.
• Lightning Design System: Style guides and modern enterprise UX best practices to build pixel
perfect apps that match the look and feel of the Lightning Experience.
WHAT IS LIGHTNING COMPONENT FRAMEWORK?
• The Lightning component framework is a UI framework for developing
dynamic web apps that run on both mobile and desktop devices.
• It’s a modern framework for building single-page applications (SPA)
• It uses JavaScript on the client side and Apex on the server side.
• Derived from Open Source Aura Framework.
https://github.com/forcedotcom/aura
COMPONENT
• Components are the self-contained and reusable units of an app.
• They represent a reusable section of the UI, and can range in granularity
from a single line of text to an entire app.
• A component can contain other components as well as HTML, CSS, JS, or
any other web-enabled code.
• The details of a component’s implementation are encapsulated. This allows
consumer of component to focus on building the app while the component
author can innovate and make changes without breaking consumers.
• Components interact with their environment by listening to or publishing
events.
SFDC Lightning Demo
WHY USE THE LIGHTNING COMPONENT
FRAMEWORK?
The benefits are as follows –
1. Out-of-the-Box Component Set
2. Rich Component Ecosystem
3. Performance (Stateful client and stateless server arch.)
4. Event-driven architecture(Decoupling between components)
5. Faster development (Components are encapsulated)
6. Device-aware and cross browser compatibility.
(Supports latest in browser technology such as HTML5, CSS3 and touch events)
SFDC Lightning Demo
IS LIGHTNING COMPONENTS BUILT ON THE
MVC PATTERN?
• In a word, no. There are similarities, to be sure, but it would be more correct
to say that Lightning Components is View-Controller-Controller-Model, or
perhaps View-Controller-Controller-Database.
• Because when interacting with Salesforce, your components will have
a server-side controller in addition to the client-side controller. This dual
controller design is the key difference between Lightning Components and
MVC.
BUNDLES
Bundle is basically a folder, it’s a folder for base component along with its
optional resources.
1. Lightning Component Bundle
2. Application Bundle
CREATING NEW LIGHTNING COMPONENT
JAVA SCRIPT DRIVEN MODEL
HOW CONTROLLER JS WORKS?
HOW HELPER JS WORKS?
HOW RENDERER JS WORKS?
VF PAGE RENDERING MODEL
COMPONENT RENDERING MODEL
SIMPLER VIEW
STEPS TO CREATE DOMAIN NAME
Salesforce requires My Domain as a security measure to help prevent malicious attacks—just in
case a security hole lies hidden deep within a third-party or custom component.
• Choose your domain name
• From Setup, enter My Domain in the Quick Find box, then select My Domain.
• Enter a name for your domain after https:// and click Check Availability. If this name is already taken, choose another
one.
• Click Register Domain.
Salesforce updates its domain name registries with your new domain name. When it’s done, you receive an email with a
subject like, “Your Developer Edition domain ready for testing.” It takes just a few minutes.
• Roll out My Domain to your org
• In the activation email, click the link to log in to your Salesforce domain and return to the wizard.
• Notice that the URL in the browser address bar shows your new domain name.
• Click around your org to make sure that links point to your new domain. You probably haven’t created links in your DE
org, so we can go on. (When creating a domain in a production org, this important step is easily overlooked.)
• Click Deploy to Users, and then click OK.
• Click OK.
SALESFORCE LIGHTNING DESIGN SYSTEM (SLDS)
• CSS Framework + UI Library
• The Design System that enables you to build applications that comply with the
new Salesforce Lightning look and feel without reverse engineering the UI as
custom CSS.
• It is collection of design patterns, components, and guidelines for creating
unified UI in the Salesforce ecosystem.
• https://github.com/salesforce-ux/design-system
FAQS RELATED TO SLDS
 Is any JavaScript included as part of the framework?
• No. The Salesforce Lightning Design System is a pure CSS framework that you can use with any front-end
development framework you’d like, including Salesforce-specific technologies such as Visualforce and
Lightning, as well as third-party frameworks like React or Angular.
 Can I use the Salesforce Lightning Design System together with Bootstrap or any other CSS framework?
• Yes. All CSS selectors are prefixed with .slds- to prevent any collisions.
 What browsers are supported?
BROWSER VERSION
• Google Chrome Latest
• Mozilla Firefox Latest
• Safari Latest
• Internet Explorer 11
• Microsoft Edge Latest
WHY WE NEED SLDS?
• It has been long pending question for Salesforce.
• Many Partners apps look and work great but don’t feel like Salesforce due to lack
of resources.
• A 3rd Party Bootstrap Salesforce theme was created and used outside, since it was
not maintained by salesforce. Due to which it quickly grew out of sync with their UI
design updates.
• So, in order to have consistency through different UI experiences and applications,
Salesforce came up with new design system i.e. SLDS.
WHERE YOU CAN USE THE DESIGN SYSTEM
• Visualforce pages
• Lightning pages and components made available to Salesforce1 and Lightning
Experience
• Mobile apps accessing Salesforce through the Mobile SDK or another API
• Standalone web apps.
• QUICK DEMO
FEW LIGHTNING NAMESPACES USED IN
COMPONENT MARKUP
Namespaces Meaning
aura this namespace contains components to simplify your app logic
Ex - <aura:component/>, <aura:attribute/>
ui this namespace contains components for user interface elements
like buttons and input fields
Ex - <ui:inputNumber/>
force this namespace contains components specific to Salesforce
Ex - <force:inputField/>
lightning This component inherits styling from buttons in the Lightning
Design System.
Ex - <lightning:button/>
https://developer.salesforce.com/docs/atlas.en-
us.lightning.meta/lightning/aura_compref_force_inputField.htm
Link to Aura Ref doc – <yourdevorg>/auradocs/reference.app
QUERIES?
IMPORTANT LINKS
• https://www.youtube.com/watch?v=28CuoCYjCNw
• https://www.youtube.com/watch?v=amQ-Lt2a6dg
• https://www.youtube.com/watch?v=JKEQRYu79BQ&t=1865s
• https://developer.salesforce.com/lightning
• https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/intro_framework.htm
• https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/controllers_server_actions_call.htm
• https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_application_handling_phases.htm
• https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_csp.htm
• https://developer.salesforce.com/blogs/developer-relations/2016/04/introducing-lockerservice-lightning-components.html
SLDS
• https://www.lightningdesignsystem.com/
• https://developer.salesforce.com/lightning/design-system
ASSIGNMENT
Trail Heads –
1. https://trailhead.salesforce.com/en/modules/lex_migration_introduction
2. https://trailhead.salesforce.com/en/trails/lex_admin_implementation/modules/lex_migration_rol
lout
3. https://trailhead.salesforce.com/en/modules/lightning_design_system (SLDS)
Code Zip-
THANK-YOU !!

More Related Content

PPTX
Architecting Lightning Components for Community Builder
PDF
DF2UFL 2012: Developer's Den - What's New and What's on the Horizon
PDF
synebo talk #1 Salesforce lightning
PPTX
Lightning Developer Week - Bangalore Salesforce Developer Group
PDF
Salesforce Spring 22 Webinar
ODP
Salesforce Super Slider Lightning Component ppt
PPTX
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
PDF
Practical management of development & QA environments for SharePoint 2013
Architecting Lightning Components for Community Builder
DF2UFL 2012: Developer's Den - What's New and What's on the Horizon
synebo talk #1 Salesforce lightning
Lightning Developer Week - Bangalore Salesforce Developer Group
Salesforce Spring 22 Webinar
Salesforce Super Slider Lightning Component ppt
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Practical management of development & QA environments for SharePoint 2013

What's hot (20)

PDF
Technical Overview of Microsoft SharePoint Online - Presented by Atidan
PPTX
Microsoft Teams as a Development Platform
PPTX
Lightning web components
PPTX
Activate bots within SharePoint Framework
PDF
Integrating Salesforce and SharePoint 2013
PPT
Migrate To Lightning Web Components from Aura framework to increase performance
PDF
Introduction to Lightning Web Components
PPTX
Microsoft Office Delve
PPTX
SharePoint and Azure - A Match Made in the Clouds
PPTX
Chris O'Brien - Ignite 2019 announcements and selected roadmaps
PPTX
What is Salesforce lighting explained
PDF
Spunite17 Converting your CEWP Customisations
PPTX
Application innovation & Developer Productivity
PPTX
Lighting up the Bay, Real-World App Cloud
PPTX
O365 Developer Bootcamp NJ 2018 - Material
PPTX
Intro to Salesforce Lightning Web Components (LWC)
PPTX
Developer Group - Sitecore Application Lifecycle Management
PPTX
Microsoft Viva Connections - Set up and Extend with SPFx
PPTX
The SharePoint 2013 App Model
PPTX
Lightning web components
Technical Overview of Microsoft SharePoint Online - Presented by Atidan
Microsoft Teams as a Development Platform
Lightning web components
Activate bots within SharePoint Framework
Integrating Salesforce and SharePoint 2013
Migrate To Lightning Web Components from Aura framework to increase performance
Introduction to Lightning Web Components
Microsoft Office Delve
SharePoint and Azure - A Match Made in the Clouds
Chris O'Brien - Ignite 2019 announcements and selected roadmaps
What is Salesforce lighting explained
Spunite17 Converting your CEWP Customisations
Application innovation & Developer Productivity
Lighting up the Bay, Real-World App Cloud
O365 Developer Bootcamp NJ 2018 - Material
Intro to Salesforce Lightning Web Components (LWC)
Developer Group - Sitecore Application Lifecycle Management
Microsoft Viva Connections - Set up and Extend with SPFx
The SharePoint 2013 App Model
Lightning web components
Ad

Similar to SFDC Lightning Demo (20)

PDF
What is Difference Between LC and LWC?
PPTX
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
PPTX
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
PPTX
Salesforce Apex Hours :- Introduction to lightning components
PDF
Prominent Back-end frameworks to consider in 2022!
PPTX
Live Session1 lightning web component
PDF
CI-solutions-Versus-AutoRABIT
PPTX
AIR - Framework ( Cairngorm and Parsley )
PPTX
Salesforce DevOps Online Training Institute | Salesforce DevOps Training in H...
PDF
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
PPTX
Lightning Web Component - LWC
PPTX
Salesforce Integration Patterns
PPTX
IBM Connections Cloud Application Development Strategy
PPTX
Flex Introduction
PDF
A Deep Dive into Salesforce Development Tools and Techniques in the UK.pdf
PPT
Symfony - A Bird's Eye View
PDF
Lightning Workshop London
PPTX
SharePoint 2013 App Provisioning Models
PPTX
lightning presentation
PDF
Salesforce cicd integration a quick guide
What is Difference Between LC and LWC?
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
Salesforce Apex Hours :- Introduction to lightning components
Prominent Back-end frameworks to consider in 2022!
Live Session1 lightning web component
CI-solutions-Versus-AutoRABIT
AIR - Framework ( Cairngorm and Parsley )
Salesforce DevOps Online Training Institute | Salesforce DevOps Training in H...
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
Lightning Web Component - LWC
Salesforce Integration Patterns
IBM Connections Cloud Application Development Strategy
Flex Introduction
A Deep Dive into Salesforce Development Tools and Techniques in the UK.pdf
Symfony - A Bird's Eye View
Lightning Workshop London
SharePoint 2013 App Provisioning Models
lightning presentation
Salesforce cicd integration a quick guide
Ad

Recently uploaded (20)

PPTX
ai tools demonstartion for schools and inter college
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPT
Introduction Database Management System for Course Database
PPTX
Introduction to Artificial Intelligence
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
AI in Product Development-omnex systems
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
top salesforce developer skills in 2025.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Digital Strategies for Manufacturing Companies
ai tools demonstartion for schools and inter college
Operating system designcfffgfgggggggvggggggggg
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Introduction Database Management System for Course Database
Introduction to Artificial Intelligence
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
AI in Product Development-omnex systems
ManageIQ - Sprint 268 Review - Slide Deck
Which alternative to Crystal Reports is best for small or large businesses.pdf
Odoo POS Development Services by CandidRoot Solutions
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......
top salesforce developer skills in 2025.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Digital Strategies for Manufacturing Companies

SFDC Lightning Demo

  • 2. AGENDA 2 Salesforce Lightning Component Framework 1 What is Salesforce Lightning? 3 Quick Demo 4 Salesforce Lightning Design System (SLDS) 5 Important links to go through 6 Assignment
  • 3. SALESFORCE LIGHTNING Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce platform. Lightning includes: • Experience: A set of modern user interfaces optimized for speed. This includes the Lightning Experience, Salesforce1 Mobile app and template-based communities. • Lightning Component Framework: A JavaScript framework and set of standard components that allow you to build reusable components to customize the Lightning Experience. • Visual Building Tools: Drag-and-drop technologies for fast and easy app building & customizations. Use the Lightning App Builder to customize the Lightning Experience. • Lightning Exchange: A section of the AppExchange where you can find 70+ partner components to jumpstart your development. • Lightning Design System: Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience.
  • 4. WHAT IS LIGHTNING COMPONENT FRAMEWORK? • The Lightning component framework is a UI framework for developing dynamic web apps that run on both mobile and desktop devices. • It’s a modern framework for building single-page applications (SPA) • It uses JavaScript on the client side and Apex on the server side. • Derived from Open Source Aura Framework. https://github.com/forcedotcom/aura
  • 5. COMPONENT • Components are the self-contained and reusable units of an app. • They represent a reusable section of the UI, and can range in granularity from a single line of text to an entire app. • A component can contain other components as well as HTML, CSS, JS, or any other web-enabled code. • The details of a component’s implementation are encapsulated. This allows consumer of component to focus on building the app while the component author can innovate and make changes without breaking consumers. • Components interact with their environment by listening to or publishing events.
  • 7. WHY USE THE LIGHTNING COMPONENT FRAMEWORK? The benefits are as follows – 1. Out-of-the-Box Component Set 2. Rich Component Ecosystem 3. Performance (Stateful client and stateless server arch.) 4. Event-driven architecture(Decoupling between components) 5. Faster development (Components are encapsulated) 6. Device-aware and cross browser compatibility. (Supports latest in browser technology such as HTML5, CSS3 and touch events)
  • 9. IS LIGHTNING COMPONENTS BUILT ON THE MVC PATTERN? • In a word, no. There are similarities, to be sure, but it would be more correct to say that Lightning Components is View-Controller-Controller-Model, or perhaps View-Controller-Controller-Database. • Because when interacting with Salesforce, your components will have a server-side controller in addition to the client-side controller. This dual controller design is the key difference between Lightning Components and MVC.
  • 10. BUNDLES Bundle is basically a folder, it’s a folder for base component along with its optional resources. 1. Lightning Component Bundle 2. Application Bundle
  • 14. HOW HELPER JS WORKS?
  • 15. HOW RENDERER JS WORKS?
  • 19. STEPS TO CREATE DOMAIN NAME Salesforce requires My Domain as a security measure to help prevent malicious attacks—just in case a security hole lies hidden deep within a third-party or custom component. • Choose your domain name • From Setup, enter My Domain in the Quick Find box, then select My Domain. • Enter a name for your domain after https:// and click Check Availability. If this name is already taken, choose another one. • Click Register Domain. Salesforce updates its domain name registries with your new domain name. When it’s done, you receive an email with a subject like, “Your Developer Edition domain ready for testing.” It takes just a few minutes. • Roll out My Domain to your org • In the activation email, click the link to log in to your Salesforce domain and return to the wizard. • Notice that the URL in the browser address bar shows your new domain name. • Click around your org to make sure that links point to your new domain. You probably haven’t created links in your DE org, so we can go on. (When creating a domain in a production org, this important step is easily overlooked.) • Click Deploy to Users, and then click OK. • Click OK.
  • 20. SALESFORCE LIGHTNING DESIGN SYSTEM (SLDS) • CSS Framework + UI Library • The Design System that enables you to build applications that comply with the new Salesforce Lightning look and feel without reverse engineering the UI as custom CSS. • It is collection of design patterns, components, and guidelines for creating unified UI in the Salesforce ecosystem. • https://github.com/salesforce-ux/design-system
  • 21. FAQS RELATED TO SLDS  Is any JavaScript included as part of the framework? • No. The Salesforce Lightning Design System is a pure CSS framework that you can use with any front-end development framework you’d like, including Salesforce-specific technologies such as Visualforce and Lightning, as well as third-party frameworks like React or Angular.  Can I use the Salesforce Lightning Design System together with Bootstrap or any other CSS framework? • Yes. All CSS selectors are prefixed with .slds- to prevent any collisions.  What browsers are supported? BROWSER VERSION • Google Chrome Latest • Mozilla Firefox Latest • Safari Latest • Internet Explorer 11 • Microsoft Edge Latest
  • 22. WHY WE NEED SLDS? • It has been long pending question for Salesforce. • Many Partners apps look and work great but don’t feel like Salesforce due to lack of resources. • A 3rd Party Bootstrap Salesforce theme was created and used outside, since it was not maintained by salesforce. Due to which it quickly grew out of sync with their UI design updates. • So, in order to have consistency through different UI experiences and applications, Salesforce came up with new design system i.e. SLDS.
  • 23. WHERE YOU CAN USE THE DESIGN SYSTEM • Visualforce pages • Lightning pages and components made available to Salesforce1 and Lightning Experience • Mobile apps accessing Salesforce through the Mobile SDK or another API • Standalone web apps. • QUICK DEMO
  • 24. FEW LIGHTNING NAMESPACES USED IN COMPONENT MARKUP Namespaces Meaning aura this namespace contains components to simplify your app logic Ex - <aura:component/>, <aura:attribute/> ui this namespace contains components for user interface elements like buttons and input fields Ex - <ui:inputNumber/> force this namespace contains components specific to Salesforce Ex - <force:inputField/> lightning This component inherits styling from buttons in the Lightning Design System. Ex - <lightning:button/> https://developer.salesforce.com/docs/atlas.en- us.lightning.meta/lightning/aura_compref_force_inputField.htm Link to Aura Ref doc – <yourdevorg>/auradocs/reference.app
  • 26. IMPORTANT LINKS • https://www.youtube.com/watch?v=28CuoCYjCNw • https://www.youtube.com/watch?v=amQ-Lt2a6dg • https://www.youtube.com/watch?v=JKEQRYu79BQ&t=1865s • https://developer.salesforce.com/lightning • https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/intro_framework.htm • https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/controllers_server_actions_call.htm • https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_application_handling_phases.htm • https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_csp.htm • https://developer.salesforce.com/blogs/developer-relations/2016/04/introducing-lockerservice-lightning-components.html SLDS • https://www.lightningdesignsystem.com/ • https://developer.salesforce.com/lightning/design-system
  • 27. ASSIGNMENT Trail Heads – 1. https://trailhead.salesforce.com/en/modules/lex_migration_introduction 2. https://trailhead.salesforce.com/en/trails/lex_admin_implementation/modules/lex_migration_rol lout 3. https://trailhead.salesforce.com/en/modules/lightning_design_system (SLDS) Code Zip-