Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Salesforce Lightning Application Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Salesforce Lightning Application Development

Learning Salesforce Lightning Application Development

By : Mohit Shrivatsava
4.1 (13)
close
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
close

To get the most out of this book

The book assumes that the reader has had some exposure to programming. The book also assumes that you are familiar with the Salesforce Apex programming language, JavaScript fundamentals (especially the concepts of variables, callbacks, and promises), HTML, and CSS. The book expects that you are familiar with Salesforce administration capabilities, such as creating objects and fields, and navigating through Salesforce.

To get most out of the book, sign up for a promotional Salesforce Org with Salesforce DX enabled at https://developer.Salesforce.com/promotions/Orgs/dx-signup, and a developer Org at https://developer.Salesforce.com/signup, and try all the code snippets discussed in the book by creating scratch Orgs for every chapter. Instructions for creating scratch Orgs, with the accompanying code, can be found in the following GitHub repository: https://github.com/PacktPublishing/Learning-Salesforce-Lightning-Application-Development.

The book uses the following software, all of which is freely available:

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Learning-Salesforce-Lightning-Application-DevelopmentIn case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in the text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "To override New, Edit, or View, the Lightning component must implement the Lightning:actionOverride interface."

A block of code is set as follows:

function StringUtils() {};

StringUtils.prototype.concatenate = function(str1,str2) {
return str1.concat(str2);
};

StringUtils.prototype.camelcase = function(string) {
string = string.toLowerCase().replace(/(?:(^.)|([-_\s]+.))/g, function(match) {
return match.charAt(match.length-1).toUpperCase();
});
return string.charAt(0).toLowerCase() + string.substring(1);
};

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

describe("when string operations are performed", function(){

//Spec for Concatenation operation
it("should be able to concatenate hello and world", function() {
expect(stringUtil.concatenate('Hello','World')).toEqual('HelloWorld');
});

//Spec for camelcase operation
it("should be able to camelcase", function() {
expect(stringUtil.camelcase('hello-world')).toEqual('helloWorld');
});

//Spec for capitalizeFirstLetter
it("should be able to capitalize First Letter", function() {
expect(stringUtil.capitalizeFirstLetter('world')).toEqual('World');
});
});

Any command-line input or output is written as follows:

sfdx force:lightning:test:run

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Once in the Setup menu, find App Manager from the search box. A new Lightning app can be created using the New Lightning App button."

Warnings or important notes appear like this.
Tips and tricks appear like this.

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

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY