Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Lightning web components - Episode 1 - An Introduction

6.130 visualizaciones

Publicado el

Lightning Web Components are a JavaScript programming model for building web applications and interfaces that is built on the best of web standards.

Any front-end web developer can get started with LWC and leverage custom elements, and JavaScript APIs to create modern apps and experiences that are fully aware of Salesforce data and processes.

Publicado en: Tecnología
  • Sé el primero en comentar

Lightning web components - Episode 1 - An Introduction

  1. 1. Lightning Web Components Episode 1 - Introduction November 16, 2018 | 11:00 a.m. IST Satya Sekhar Sr. Developer Evangelist Salesforce Shashank Srivatsavaya Developer Relations, Senior Manager Salesforce Nirankush Panchbhai VP, Product Management Salesforce
  2. 2. Forward-Looking Statement 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, 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 products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of, 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., inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. Go Social! Salesforce Developers Salesforce Developers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration). This webinar is being recorded! @salesforcedevs
  4. 4. Have Questions? ● Don’t wait until the end to ask your question! ● Technical support will answer questions starting now. ● Respect Q&A etiquette ● Please don’t repeat questions. The support team is working their way down the queue. ● Stick around for live Q&A at the end ● Speakers will tackle more questions at the end, time-allowing ● Head to Developer Forums ● More questions? Visit
  5. 5. Agenda ● Lightning Web Components - Introduction ● Sample Gallery ● Component Library and Playground ● Base Lightning Components ● Developer Tooling – Salesforce CLI and VS Code ● Lightning Web Components Demo
  6. 6. Enhanced productivity Use the modern language of the web: ES6+, Custom Elements, Modules, 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
  7. 7. 2014 Web Stack
  8. 8. Fragmentation ● Proliferation of frameworks ● Components are not interoperable ● Skills are not transferable ● Resources are hard to find ● Framework abstractions are slow
  9. 9. W3C and ECMAScript Standardization ● ECMAScript 6,7,8,9 ● Classes ● Modules ● Promises ● Decorators ● Web components ● Custom elements ● Shadow DOM ● Templates and slots
  10. 10. Web Stack Transformation Fram eworks W eb Standards Frameworks Web Standards 2014 Web Stack 2019 Web Stack Lightning Web Components
  11. 11. Benefits ● More standards, less proprietary ● Common component model ● Transferable skills ● Easier-to-ramp-up for developers ● Better performance
  12. 12. Coexistence and Interoperability
  13. 13. Lightning Web Component Anatomy META ● The HTML template element contains component’s markup. ● Contains Component Code in a Javascript Class ● Contains the metadata values for the component
  14. 14. Demo Lightning Web Component Anatomy
  15. 15. Component Library ● Component reference has documentation, specification and its usage as LWC code ● Playground to view the existing code and also try your own code ● Library of 70+ Base Lightning Components
  16. 16. Demo Base Components Component Library Playground
  17. 17. Sample Gallery Sample Gallery Recipes E-Bikes Dream House Pure Aloe Dream Invest Easy Spaces
  18. 18. Developer Tooling with Salesforce DX Best Developer Experience Salesforce CLI VS Code Create Web Components Sync Changes from Dev Env Deploy Changes to Production Project Explorer Integrated Debugger GIT Integration Code Competion
  19. 19. Demo Hello World App using Developer Tools
  20. 20. Lightning Web Components – Episode 2 ● Lightning Data Service ● Apex and wire service ● Lighning web components in App Builder, LeX and Mobile ● Debugging JS and HTML in LWC ● Lifecycle Hooks Working with Salesforce Data
  21. 21. Lightning Web Components – Episode 3 ● Component Composition ● Interoperability and Co-existence with Aura ● Using other party javascripts ● External API Working with Aura and External Resources
  22. 22. Lightning Web Components – Episode 4 ● Events/Intercomponent communication ● Pub Sub communication ● DOM and CSS ● Security with Locker service Inter-component Communication and Security
  23. 23. Lightning Web Components – Episode 5 ● Aura Migration Strategies and Implementation ● Test Lightning Web Components with Jest ● Apex Testing ● Best Coding Practices Migrate Aura Components and Test Lightning Components
  24. 24. Get Hands On with a Trailmix! Javascript Developement
  25. 25. Q & A Try Trailhead: Join the conversation: @salesforcedevs Join Trailblazer Community Group:
  26. 26. Survey Your feedback is crucial to the success of our webinar programs. Please fill out the survey at the end of the webinar. Thank you!