Mastering Apex Programming: A developer’s guide to learning advanced techniques and best practices for building robust applications
- Length: 278 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2020-12-09
- ISBN-10: 1800200927
- ISBN-13: 9781800200920
Get to grips with the advanced features of Apex programming for Salesforce developers using this comprehensive guide
Key Features
- Discover how to build reliable applications with Apex by avoiding common mistakes and pitfalls
- Learn how to use the different asynchronous programming tools in Apex
- Profile and improve the performance of your Apex code
Book Description
As applications built on the Salesforce platform are now a key part of many organizations, developers are shifting focus to Apex, which is Salesforce.com’s proprietary programming language for developing code processes to run on Salesforce servers. 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 Apex book also 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 learn
- Understand common coding mistakes in Apex and how to avoid them using best practices
- Find out how to debug a Salesforce Apex application effectively
- Explore different asynchronous Apex options and their common use cases
- Discover tips to work effectively with Platform Events
- Develop custom Apex REST services to allow inbound integrations
- Build complex logic and processes on the Salesforce platform
Who This Book Is For
This 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 will assist with understanding the concepts covered.