Mastering Apex Programming
A developer’s guide to learning advanced techniques and best practices for building robust Salesforce applications
Language - English
Updated on Dec, 2020
About the Book
Book description
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, 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 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 is essential to understand the concepts covered.

eBook Preview
Author Details

<a href="https://market.tutorialspoint.com/author/paul_battisson">Paul Battisson</a>
Packt are an established, trusted, and innovative global technical learning publisher, founded in Birmingham, UK with over eighteen years experience delivering rich premium content from ground-breaking authors and lecturers on a wide range of emerging and established technologies for professional development.
Packt’s purpose is to help technology professionals advance their knowledge and support the growth of new technologies by publishing vital user focused knowledge-based content faster than any other tech publisher, with a growing library of over 9,000 titles, in book, e-book, audio and video learning formats, our multimedia content is valued as a vital learning tool and offers exceptional support for the development of technology knowledge.
We publish on topics that are at the very cutting edge of technology, helping IT professionals learn about the newest tools and frameworks in a way that suits them.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now