Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Salesforce Lightning Application Development
  • Toc
  • feedback
Learning Salesforce Lightning Application Development

Learning Salesforce Lightning Application Development

By : Mohit Shrivatsava
4.1 (13)
close
Learning Salesforce Lightning Application Development

Learning Salesforce Lightning Application Development

4.1 (13)
By: Mohit Shrivatsava

Overview of this book

Built on the Salesforce App Cloud, the new Salesforce Lightning Experience combines three major components: Lightning Design System, Lightning App Builder, and Lightning Components, to provide an enhanced user experience. This book will enable you to quickly create modern, enterprise apps with Lightning Component Framework. You will start by building simple Lightning Components and understanding the Lightning Components architecture. The chapters cover the basics of Lightning Component Framework semantics and syntax, the security features provided by Locker Service, and use of third-party libraries inside Lightning Components. The later chapters focus on debugging, performance tuning, testing using Lightning Testing Services, and how to publish Lightning Components on Salesforce AppExchange.
Table of Contents (17 chapters)
close

Lightning Out in a Node.js application


In this section, we will build a Node.js web application that will be hosted on Heroku and renders the YouTube search component we have built using Lightning Out.

This section assumes you are familiar with webpack fundamentals, ES6 syntax for JavaScript, and Node.js fundamentals. This section also assumes you have the Heroku CLI installed from https://devcenter.heroku.com/articles/heroku-cli.

The application consists of the Lightning Out application, which we covered in the previous section. You can use SFDX to deploy the application to the scratch Org from the repository at https://github.com/PacktPublishing/Learning-Salesforce-Lightning-Application-Development/tree/master/chapter10/force-app/main/default.

You can create a scratch Org and push the code using the following commands. This assumes you have authenticated to the DevHub using the Salesforce DX CLI:

$sfdx force:org:create -s -f config/project-scratch-def.json -a testOrg  //This creates scratch...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete