SlideShare una empresa de Scribd logo
1 de 28
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.
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)
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 !!

Más contenido relacionado

La actualidad más candente

Technical Overview of Microsoft SharePoint Online - Presented by Atidan
Technical Overview of Microsoft SharePoint Online - Presented by AtidanTechnical Overview of Microsoft SharePoint Online - Presented by Atidan
Technical Overview of Microsoft SharePoint Online - Presented by AtidanDavid J Rosenthal
 
Microsoft Teams as a Development Platform
Microsoft Teams as a Development PlatformMicrosoft Teams as a Development Platform
Microsoft Teams as a Development PlatformDavid Schneider
 
Lightning web components
Lightning web componentsLightning web components
Lightning web componentsAmit Singh
 
Activate bots within SharePoint Framework
Activate bots within SharePoint FrameworkActivate bots within SharePoint Framework
Activate bots within SharePoint FrameworkKushan Lahiru Perera
 
Integrating Salesforce and SharePoint 2013
Integrating Salesforce and  SharePoint 2013Integrating Salesforce and  SharePoint 2013
Integrating Salesforce and SharePoint 2013Netwoven Inc.
 
Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance Bohdan Dovhań
 
SharePoint and Azure - A Match Made in the Clouds
SharePoint and Azure - A Match Made in the CloudsSharePoint and Azure - A Match Made in the Clouds
SharePoint and Azure - A Match Made in the CloudsShailen Sukul
 
Chris O'Brien - Ignite 2019 announcements and selected roadmaps
Chris O'Brien - Ignite 2019 announcements and selected roadmapsChris O'Brien - Ignite 2019 announcements and selected roadmaps
Chris O'Brien - Ignite 2019 announcements and selected roadmapsChris O'Brien
 
What is Salesforce lighting explained
What is Salesforce lighting explainedWhat is Salesforce lighting explained
What is Salesforce lighting explainedRoy Gilad
 
Spunite17 Converting your CEWP Customisations
Spunite17 Converting your CEWP CustomisationsSpunite17 Converting your CEWP Customisations
Spunite17 Converting your CEWP CustomisationsNCCOMMS
 
Application innovation & Developer Productivity
Application innovation & Developer ProductivityApplication innovation & Developer Productivity
Application innovation & Developer ProductivityKushan Lahiru Perera
 
Lighting up the Bay, Real-World App Cloud
Lighting up the Bay, Real-World App CloudLighting up the Bay, Real-World App Cloud
Lighting up the Bay, Real-World App CloudSalesforce Developers
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialThomas Daly
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Roy Gilad
 
Developer Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle ManagementDeveloper Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle ManagementThomas Eldblom
 
Microsoft Viva Connections - Set up and Extend with SPFx
Microsoft Viva Connections - Set up and Extend with SPFxMicrosoft Viva Connections - Set up and Extend with SPFx
Microsoft Viva Connections - Set up and Extend with SPFxNanddeep Nachan
 
The SharePoint 2013 App Model
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App ModelSPC Adriatics
 
Lightning web components
Lightning web components Lightning web components
Lightning web components Cloud Analogy
 

La actualidad más candente (20)

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

Similar a SFDC Lightning Demo

What is Difference Between LC and LWC?
What is Difference Between LC and LWC?What is Difference Between LC and LWC?
What is Difference Between LC and LWC?Ravendra Singh
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. Kushan Lahiru Perera
 
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)TIMETOACT GROUP
 
Salesforce Apex Hours :- Introduction to lightning components
Salesforce Apex Hours :- Introduction to lightning componentsSalesforce Apex Hours :- Introduction to lightning components
Salesforce Apex Hours :- Introduction to lightning componentsAmit Chaudhary
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Shelly Megan
 
Live Session1 lightning web component
Live Session1 lightning web componentLive Session1 lightning web component
Live Session1 lightning web componentSmritiSharan1
 
CI-solutions-Versus-AutoRABIT
CI-solutions-Versus-AutoRABITCI-solutions-Versus-AutoRABIT
CI-solutions-Versus-AutoRABITalkhan50
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )senthil0809
 
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
ISV Lightning Webinar Series - Part 1 (December 1, 2015)ISV Lightning Webinar Series - Part 1 (December 1, 2015)
ISV Lightning Webinar Series - Part 1 (December 1, 2015)Salesforce Partners
 
Salesforce Integration Patterns
Salesforce Integration PatternsSalesforce Integration Patterns
Salesforce Integration Patternsusolutions
 
IBM Connections Cloud Application Development Strategy
IBM Connections Cloud Application Development StrategyIBM Connections Cloud Application Development Strategy
IBM Connections Cloud Application Development StrategyLuis Benitez
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction senthil0809
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye Viewcsushil
 
Lightning Workshop London
Lightning Workshop LondonLightning Workshop London
Lightning Workshop LondonKeir Bowden
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsShailen Sukul
 
lightning presentation
lightning presentationlightning presentation
lightning presentationMansourEddih1
 
Salesforce cicd integration a quick guide
Salesforce cicd integration a quick guideSalesforce cicd integration a quick guide
Salesforce cicd integration a quick guideKaty Slemon
 

Similar a SFDC Lightning Demo (20)

What is Difference Between LC and LWC?
What is Difference Between LC and LWC?What is Difference Between LC and LWC?
What is Difference Between LC and LWC?
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
 
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
 
Salesforce Apex Hours :- Introduction to lightning components
Salesforce Apex Hours :- Introduction to lightning componentsSalesforce Apex Hours :- Introduction to lightning components
Salesforce Apex Hours :- Introduction to lightning components
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
 
Live Session1 lightning web component
Live Session1 lightning web componentLive Session1 lightning web component
Live Session1 lightning web component
 
CI-solutions-Versus-AutoRABIT
CI-solutions-Versus-AutoRABITCI-solutions-Versus-AutoRABIT
CI-solutions-Versus-AutoRABIT
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )
 
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
ISV Lightning Webinar Series - Part 1 (December 1, 2015)ISV Lightning Webinar Series - Part 1 (December 1, 2015)
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
 
Lightning Web Component - LWC
Lightning Web Component - LWCLightning Web Component - LWC
Lightning Web Component - LWC
 
Salesforce Integration Patterns
Salesforce Integration PatternsSalesforce Integration Patterns
Salesforce Integration Patterns
 
IBM Connections Cloud Application Development Strategy
IBM Connections Cloud Application Development StrategyIBM Connections Cloud Application Development Strategy
IBM Connections Cloud Application Development Strategy
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye View
 
Lightning Workshop London
Lightning Workshop LondonLightning Workshop London
Lightning Workshop London
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning Models
 
lightning presentation
lightning presentationlightning presentation
lightning presentation
 
Salesforce cicd integration a quick guide
Salesforce cicd integration a quick guideSalesforce cicd integration a quick guide
Salesforce cicd integration a quick guide
 
Introduction To Symfony
Introduction To SymfonyIntroduction To Symfony
Introduction To Symfony
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 

Último

Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROmotivationalword821
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 

Último (20)

Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTRO
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 

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.
  • 6.
  • 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)
  • 8.
  • 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-