Limit search to available items
Record 22 of 37
Previous Record Next Record
Book Cover
E-book
Author Battisson, Paul

Title MASTERING APEX PROGRAMMING : A DEVELOPERS GUIDE TO LEARNING ADVANCED TECHNIQUES AND BEST PRACTICES FOR BUILDING ROBUST SALESFORCE APPLICATIONS
Published [Place of publication not identified] : PACKT Publishing, 2020

Copies

Description 1 online resource
Contents Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Foreword -- Contributors -- Table of Contents -- Preface -- Section 1 -- Triggers, Testing, and Security -- Chapter 1: Common Apex Mistakes -- Technical Requirements -- Null pointer exceptions -- Exceptions on object instances -- Exceptions when working with maps -- Retrieving configuration data in a bulkified way -- Bulkification -- querying within loops -- Hardcoding -- Summary -- Chapter 2: Debugging Apex -- Technical requirements -- Debugging on Salesforce -- Prevention is better than a cure -- Log levels
SFDX and streaming logs -- Debugging using the Apex Replay Debugger -- Apex Interactive Debugger -- ISV Customer Debugger -- Which tool to use? -- Summary -- Chapter 3: Triggers and Managing Trigger Execution -- Technical Requirements -- The Salesforce order of execution -- An example scenario -- The save order of execution -- Clicks and code -- Trigger architecture -- Using trigger handler frameworks -- Controlling trigger execution -- Summary -- Chapter 4: Exceptions and Exception Handling -- Technical Requirements -- Understanding the different types of exceptions -- Expected exceptions
Unexpected exceptions -- Unknown exceptions -- Catching errors -- Using the finally block -- Exception logging -- Capturing state -- Using custom exception types -- Summary -- Chapter 5: Testing Apex Code -- Technical Requirements -- Understanding the importance of testing -- Using a test data factory to create data -- Loading test data using Test.loadData -- Testing RESTful web services with static resources -- Using Test.startTest and Test.stopTest to demarcate the code under test -- Using assertions to validate behavior -- Writing a test for any bug that occurs -- Summary
Chapter 6: Secure Apex Programming -- How permissions and sharing work on Salesforce -- Sharing and performance -- Enforcing sharing -- Sharing records using Apex -- Enforcing object and field permissions -- Understanding Apex class security -- Enforcing permissions and security within SOQL -- Avoiding SOQL injection vulnerabilities -- Summary -- Section 2 -- Asynchronous Apex and Apex REST -- Chapter 7: Utilizing Future Methods -- Technical Requirements -- When to use a future method -- Mixed DML -- Other use cases for future methods -- Defining future methods
Passing state and coordinating data -- Calling future methods -- Monitoring execution of future method invocations -- Testing future methods -- Summary -- Chapter 8: Working with Batch Apex -- Technical Requirements -- When to use Batch Apex -- Large data volumes -- Complex logical manipulation processes -- High-volume web service callouts -- Asynchronous queue processing -- Defining a Batch Apex class -- The base interface -- Invoking Batch Apex -- Using Database.executeBatch -- Monitoring Batch Apex -- Exception handling and platform events -- Testing Batch Apex -- Summary
Summary If you're a Salesforce developer, Mastering Apex Programming will help you to get to grips with the Apex language, its advanced features, and best practices for building robust cloud-based applications that scale. Explore asynchronous programming, debugging and performance, and much more to master the Apex language
Subject Apex (Computer programming language)
Object-oriented programming languages.
Operational research.
Enterprise software.
Collaboration & group software.
Computer programming / software development.
Computers -- Enterprise Applications -- Business Intelligence Tools.
Computers -- Software Development & Engineering -- General.
Computers -- Enterprise Applications -- Collaboration Software.
Object-oriented programming languages
Form Electronic book
ISBN 1800204337
9781800204331