Build, design, and style beautiful and informative applications on the Salesforce Lightning platform
Key Features
- Build and test Lightning components that enhance application usability and adaptability
- Apply security best practices to your custom Lightning components
- Design Lightning components for Salesforce UIs such as Lightning pages, the Salesforce1 application, and communities
Book Description
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 Lightning component architecture. In the initial chapters, you'll cover the basics of Lightning Component Framework semantics and syntax. You'll then delve into the security features provided by Locker Service, which forms an integral part of the Salesforce model and works to prevent components from accessing data from other components in different namespaces. You'll also cover the use of third-party libraries inside Lightning Components and understand the rich functionalities they have to offer. The later chapters will focus on debugging, performance tuning, and testing using Lightning testing services, which will then help you to make Lightning Components ready for publishing on Salesforce AppExchange.
By the end of this book, you will have the skills you need to design and build components on your own to meet custom component needs.
What you will learn
- Understand Lightning component architecture
- Study locker security best practices
- Debug and improve the performance of your Lightning components
- Use third-party libraries along with the Lightning Component framework
- Discover how to publish Lightning components on AppExchange
- Use Lightning Out to run Lightning component apps outside
Who this book is for
This book is designed for Salesforce developers or developers from other platforms who are familiar with HTML, CSS, and JavaScript and want to build and test Salesforce Lightning components. Prior knowledge of Salesforce Lightning is not required.
Table of Contents
- Getting started with Lightning Component Framework
- Exploring Salesforce DX
- Working with Lightning Component Building Blocks
- Lightning JavaScript API
- Understanding Events In Lightning Component Framework
- Lightning Data Services and Base Components
- Using External JavaScript Libraries Inside Lightning Components
- Performance Tuning Your Lightning Component
- Debugging Lightning Components
- Taking Lightning Components Outside Salesforce Using Lightning Out
- Lightning Flows
- Making Components Available For Salesforce Mobile and Communities
- Lightning Navigation and Lightning Console APIs
- Unit Testing Components Using Lightning Testing Service
- Publishing Lightning Components On AppExchange
Mohith Shrivastava has been building and architecting Salesforce applications since 2011, when he graduated from the National Institute of Engineering, Mysore.He is currently a Salesforce MVP and holds multiple Salesforce certifications. He is an active contributor on Salesforce Stack Exchange Community. Mohith has authored Learning Salesforce Einstein and Salesforce Essentials for Administrators for Packt publishing. In his leisure time, he loves exploring the latest technologies and spending time with his family.