Salesforce Lightning Web Components - Open Source

jayantjindal 271 views 19 slides Aug 19, 2019
Slide 1
Slide 1 of 19
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19

About This Presentation

Fremont User Group August 2019 Meetup. Salesforce Lightning Web Components - Open Source

#Salesforce #LWC #UserGroup #LWCOpenSource #OpenSource


Slide Content

Lightning Web Components Open Source Trailhead DX 2019 - Announcement Jayant Jindal Fremont Salesforce User Group Lead https://www.linkedin.com/in/jayantjindal @ jayantjindal

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. Forward-Looking Statement Statement under the Private Securities Litigation Reform Act of 1995

Check-In :10 min. Trailhead DX Global Gathering 2019 highlights : 5 min. Global Gathering presentation (Hands-On Lightning Web Components Open Source): 40 min. Icebreaker : 15 min. Icebreaker Winner: 5 min. Networking Reception: 30 min. Agenda

Trailhead DX Global Gathering 2019 highlights

Enhanced productivity Use web standards like ES6+, classes, modules, custom elements, and templates Built for performance More code executed by the browser instead of JavaScript abstractions for a blazing fast experience Compatible and easy to use Runs side-by-side with existing Lightning components and can be composed with clicks or code Introducing Lightning Web Components Generally Available Spring ‘19 (Feb) New programming model built on modern web standards

2014 Web Stack

Fragmentation Proliferation of frameworks Components are not interoperable Skills are not transferable Resources are hard to find Framework abstractions are slow

W3C and ECMAScript Standardization ECMAScript 6,7,8,9 Classes Modules Promises Decorators Web components Custom elements Shadow DOM Templates and slots

2019 Web Stack

Lightning Web Components

Lightning Web Components Modern Javascript framework Before introduction of LWC, web has 3 layer: Browser, Application, JavaScript (Middle). To reduce middle framework dependence, LWC was introduced Understand Pillars of HTML Web Components – Import, Template, Custom Element, Shadow DOM LWC use Lightning Data Service (LDS)

Lightning Web Components – Open Source Javascript framework which is open source Lightning Web Components is built on the latest web standards, which is using a cutting-edge framework based on the latest patterns and best practices Contribute and drive framework to community by sending PR (Pull Requests) to git ( https://github.com/trailheadapps/lwc-recipes-oss ) Since Salesforce is part of W3C, ideas can be tabled by Salesforce to make your idea generic Not required to learn multiple frameworks like: React, Angular Compatible with multiple browsers e.g.: Chrome, IE11 Example: Use LWC to build the employee-facing side of an application on Salesforce and React or Angular to build the customer engagement side of the application on Heroku or any other platform

Lightning Web Components – Open Source

Demo

Lightning Web Components – Open Source - Steps Install node.js (and npm ) from the node.js site -> Install git from the git- scm site if you don't have installed -> Clone the LWC Recipes OSS repository to your local computer -> Install Visual Studio Code (optional, but recommended) lwc.dev LWC Platform App

References

LWC Trailhead: https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components LWC – Open Source: lwc .dev REFERENCES

Q & A

Salesforce Fremont User Group
Tags