My Account Log in

4 options

Learning Salesforce Lightning application development : build and test lightning components for Salesforce Lightning Experience using Salesforce DX / Mohith Shrivastava.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost Ebook Business Collection Available online

View online

Ebook Central Academic Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Shrivastava, Mohith, author.
Language:
English
Subjects (All):
Salesforce.com (Firm).
Application software--Development.
Application software.
Physical Description:
1 online resource (446 pages) : illustrations
Edition:
1st edition
Place of Publication:
Birmingham ; Mumbai : Packt, 2018.
System Details:
text file
Summary:
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, Salesforce 1 Application, Communities, and more. 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 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. What you will learn Understand Lightning Components architecture Learn Locker security best practices Debug and Improve performance of your Lightning Components Use third-party libraries along with Lightning Component Framework Learn how to publish Lightning Components on AppExchange Use Lightning Out to take your Lightning Components outside the Salesforce platform Who this book is for This book is 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. No knowledge of Salesforce Lightning is required.
Contents:
Cover
Title Page
Copyright and Credits
PacktPub.com
Foreword
Contributors
Table of Contents
Preface
Chapter 1: Introduction to the Lightning Component Framework
Lightning Experience
Lightning Application
Creating a Lightning Application
Creating tabs in Lightning Experience
Lightning Component Tabs
Lightning Page Tabs
Lightning App Builder
Lightning Utility Bar
List views in the Lightning UI
The ability to calendar data in the Date and Datetime fields
Global Actions
Publisher actions
Lightning Component architecture
The concept of web components
Lightning Component Bundle
Lightning Component lifecycle
MVC concepts in the Lightning Component framework
Setting up a Salesforce developer organization to enable the building of Lightning Components
Creating a simple hello world Lightning Component
The Lightning Design system
Creating a simple card component using SLDS
Summary
Chapter 2: Exploring Salesforce DX
Enabling the developer hub in your Salesforce organization
Enabling the developer hub
Installing the Salesforce DX CLI
Salesforce DX commands
auth commands
Setting a default Dev Hub for scratch Org creation
Creating a new Salesforce DX project
Configuring a scratch Org definition JSON
Configuring project definition JSON
Creating a scratch Org
Opening the scratch Org
Pulling source from a scratch Org
Push source code to a scratch Org
Conflict resolution
Ignoring files
Lightning commands
Creating a Lightning app and components
Metadata API commands
mdapi:convert and mdapi:retrieve
Converting existing managed/unmanaged package code to DX Format
Deploy command
Data import and export commands in Salesforce DX
Data export Salesforce DX command
Data import Salesforce DX command.
Bulk data upsert Salesforce DX command
Limitations of bulk upsert commands
Installing the Visual Studio extension pack for DX
Developer workflow for building a Salesforce application
Chapter 3: Lightning Component Building Blocks
Component markup and using Lightning base components for layouts
Component definition aura:component
Access modifier
Providing a description to component
Implementing interfaces in Lightning Components
Lightning base components for layout and layout items
Lightning card base component
Example layouts using the Lightning layout and card components
Horizontal alignment using the Lightning layout base component
Vertical alignment using the Lightning layout base component
Stretching a LayoutItem using the flexibility attribute
Creating multiple rows and controlling the size of the row in Lightning layout
Lightning layout to handle multiple devices
Nested page layout using Lightning Layouts
Understanding attributes
Using Expression syntax
JavaScript controller and helper
Wiring the client-side to the server using Apex controllers
Chapter 4: The Lightning JavaScript API
Technical requirements
Using component get and set methods
Using the find function to locate the DOM
Introducing Locker Service
Strict mode enforcement in Locker Service
Understanding the DOM access containment hierarchy in Lightning Components
The proxy object in Locker Service
APIs available in A top-level functions
Exploring the A.Util APIs
Format date/DateTime using the Aura Localization Service
Find your organization's time zone
Find your organization's local currency
Formatting dates
Dynamically creating components using A.createComponent()
Destroying components using the destory() function.
Modifying the DOM in the RENDERER JavaScript file of the component bundle
Understanding the rendering life cycle of a component
Understanding re-rendering the life cycle of a component
Using custom labels in Lightning Components
Dynamically populating label parameters
ES6 support in Lightning Components
An introduction to Promises
Promise support in Lightning Components
Chapter 5: Events in the Lightning Component Framework
Browser events
Capturing browser events
Event handling in Lightning base components
Application events
Creating application events
Registering application events
Firing an application event
Handling application events
Getting event attributes from a handled event
Handling capturing and bubbling events
Component events
Creating a component event
Registering a component event
Firing the component event
Handling component events
Alternate syntax to handle events raised by child components
Getting event attributes from handled events
Creating a sales LeaderBoard Lightning Application using events
Communicating between components
Passing data down the component hierarchy
Using aura:method to call child methods from parent methods
Using the aura method asynchronously
Optimal event architecture design pattern
Adding custom events to components dynamically
Chapter 6: Lightning Data Service and Base Components
Lightning Data Service
Loading Salesforce record context data using force:recordData
Functions available for CRUD records
Saving existing records
Creating a new record
Deleting records
Using SaveRecordResult
Example components using Lightning Data Service
Lightning base components
An introduction to Lightning input field components.
Creating an input form using the RecordEdit and Lightning input field components
Introducing events and attributes in Lightning record edit form and input field
Creating a contact edit form using the Lightning input field and RecordEditForm components
Using the Lightning output field component
The list view component
Creating a tree view using the tree and tree grid components
Formatting output data using Lightning base components
Using the datatable component
Using Lightning input components
Using the carousel component
Chapter 7: Using External JavaScript Libraries in Lightning Components
Third-party JavaScript libraries in Lightning Components
Attributes
Events
Integrating a third-party library into Lightning Components
Integrating the Select2 JavaScript library into Lightning Components
Integrating the MomentJs library into Lightning Components
Creating a Locker Service-compliant JavaScript bundle using webpack
Introduction to webpack
Entry
Output
Loaders
Plugins
Integrating choices.js into Lightning Components
Structuring a JS-heavy project in Salesforce DX
Creating a Locker Service-compatible bundle with webpack
ChartJs in Lightning Components
Making client-side calls to external sites using JavaScript
Communication between the Lightning main frame and iframe
Communication from the Visualforce page to the Lightning Component
Communication from the Lightning Component to the Visualforce page
Rendering a React application in a Lightning Component using Lightning:container
Rendering reactApp using the LCC npm module in a Lightning Component
Limitations of Lightning:container
Chapter 8: Debugging Lightning Components
Enabling Debug Mode
Salesforce Lightning Inspector
Lightning Salesforce Inspector tabs.
Component Tree
auraTemp
Transactions tab
Performance tab
Event Log tab
Actions tab
Storage tab
Salesforce community page optimizer
Using the Chrome developer Console
Setting breakpoints in the Chrome developer Console
Pause on caught exceptions
Apex debugging
Using the Salesforce CLI to stream logs
Advanced debugging with the Replay Debugger
Chapter 9: Performance Tuning Your Lightning Component
Storable actions
When to use storable actions?
Avoiding nested aura:if in aura:iteration
A.createComponent() for lazy loading
Using plain old JavaScript to gain maximum performance
Events strategy for performance and ease of code maintenance
Event anti-patters that can cause a performance bottleneck
&lt
aura:iteration&gt
- multiple items set
Optimizing JavaScript in Lightning Components
Unbound expression bindings
Using the Lightning data service
Leveraging Lightning base components
Creating a record form, using Lightning:recordForm
Optimizing Apex code
Limiting data rows for lists
Reducing server response time, using the platform cache
Avoiding sending responses from Apex as wrapper objects
Disabling Debug Mode for production
Chapter 10: Taking Lightning Components out of Salesforce Using Lightning Out
Lightning Out in Visualforce
Creating a Lightning dependency application
Adding Lightning Components for the Visualforce JavaScript library
Adding JavaScript to create a component on a Visualforce page
Lightning Out in a Node.js application
Creating a connected application
Setting up a Node.js application
Creating a Lightning Out application
Deploying Node.js application on Heroku
Lightning Out for unauthenticated users
Lightning Out limitations and considerations
Summary.
Chapter 11: Lightning Flows.
Notes:
Includes index.
Description based on print version record.
ISBN:
9781787122314
178712231X
OCLC:
1048787463

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account