Book Image

Learning Salesforce Lightning Application Development

By : Mohit Shrivatsava
Book Image

Learning Salesforce Lightning Application Development

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 (22 chapters)
Title Page
PacktPub.com
Foreword
Contributors
Preface
Index

Chapter 2. Exploring Salesforce DX

Salesforce DX is a modern tool for building Salesforce applications. It allows Salesforce developers to carry out source-driven development. In a source-driven development workflow, the source code can be kept in a version control system such as GitHub, Team Foundation Server (TFS), Subversion (SVN), or any other equivalent source control system. A developer can deploy the source code into a Salesforce instance, referred to as scratch Orgs, using commands provided by the Salesforce DX CLI. The CLI also provides commands to push the source code from your machine (referred to as local) to a Salesforce instance, create a Lightning Component Bundle, test Lightning Components, and many others. Source-driven development also makes it easier for developers to work in a team and to adopt Continuous Integration (CI). CI automates the verification of builds (compiling code and making it ready for a production environment) and helps to detect regression bugs early...