Jump to ratings and reviews
Rate this book

Mastering Apex Programming: A developer’s guide to learning advanced techniques and best practices for building robust Salesforce applications

Rate this book
Get to grips with the advanced features of Apex programming for Salesforce developers using this comprehensive guide

Key FeaturesDiscover how to build reliable applications with Apex by avoiding common mistakes and pitfallsLearn how to use the different asynchronous programming tools in ApexProfile and improve the performance of your Apex codeBook DescriptionAs applications built on the Salesforce platform are now a key part of many organizations, developers are shifting focus to Apex, Salesforce’s proprietary programming language. As a Salesforce developer, it is important to understand the range of tools at your disposal, how and when to use them, and best practices for working with Apex. Mastering Apex Programming will help you explore the advanced features of Apex programming and guide you in delivering robust solutions that scale.

This book starts by taking you through common Apex mistakes, debugging, exception handling, and testing. You'll then discover different asynchronous Apex programming options and develop custom Apex REST web services. The book shows you how to define and utilize Batch Apex, Queueable Apex, and Scheduled Apex using common scenarios before teaching you how to define, publish, and consume platform events and RESTful endpoints with Apex. Finally, you'll learn how to profile and improve the performance of your Apex application, including architecture trade-offs.

With code examples used to facilitate discussion throughout, by the end of the book, you'll have developed the skills needed to build robust and scalable applications in Apex.

What you will learnUnderstand common coding mistakes in Apex and how to avoid them using best practicesFind out how to debug a Salesforce Apex application effectivelyExplore different asynchronous Apex options and their common use casesDiscover tips to work effectively with platform eventsDevelop custom Apex REST services to allow inbound integrationsBuild complex logic and processes on the Salesforce platformWho this book is forThis book is for Salesforce developers who are interested in mastering Apex programming skills. You’ll also find this book helpful if you’re an experienced Java or C# developer looking to switch to Apex programming for developing apps on the Salesforce platform. Basic Apex programming knowledge is essential to understand the concepts covered.

Table of ContentsCommon Apex MistakesDebugging ApexTriggers and Managing Trigger ExecutionExceptions and Exception HandlingTesting Apex CodeSecure Apex ProgrammingUtilizing Future MethodsWorking with Batch ApexWorking with Queueable ApexScheduling Apex JobsUsing Platform EventsApex REST and Custom Web ServicesPerformance and the Salesforce Governor LimitsPerformance ProfilingImproving Apex PerformancePerformance and Application Architectures

368 pages, Kindle Edition

Published November 20, 2020

8 people are currently reading
13 people want to read

About the author

Paul Battisson

6 books1 follower
Paul has been working with Salesforce since 2010 and has held a variety of roles across both the product development and consultancy spaces. He is the founder and co-organiser of the Salesforce Leeds Developer Group and has received the Salesforce MVP award 7 times.

Paul has spoken on a range of Salesforce topics over 20 times at a number of events including multiple Dreamforce and London's Calling events, India Dreamin, and DreamOle. Some of his more popular talks included subjects such as microservices, machine learning with Apex, and building virtual reality systems on the Salesforce platform.

He is the author of two books on Apex, "Learning Salesforce Development With Apex" and "Mastering Apex Programming", designed to help those working with Apex at different levels improve their understanding and use of the language. His course on Udemy, "Astronomical Apex Testing" has an average rating of 4.36 stars and he runs the "CloudBitesTV" YouTube channel which has amassed over 100k views of Salesforce related content. You can read his blog at paulbattisson.com and find CloudBitesTV content at cloudbites.tv.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (20%)
4 stars
6 (60%)
3 stars
1 (10%)
2 stars
1 (10%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.