Learn to harness the power of the Apex language to build Salesforce applications

This book covers the fundamentals of the Salesforce Apex programming language used by developers to build powerful applications in the cloud.
In this book, you will learn how to work with the Apex language to build scalable applications that can interact with and update data from your users. We cover the language from the ground up, introducing programming concepts such as variables and control statements alongside clear and concise examples to help you understand the key concepts and features. Platform-specific features such as Apex triggers, SOQL and SOSL are covered in detail to help ensure you deliver robust and scalable solutions. Nuances and best practices for development are discussed along with how to effectively test your code to ensure that you can deploy it to users with confidence. Object-oriented programming in Apex is also covered in-depth to ensure that you can develop dynamic solutions and build for the future. The book also discusses and shows developers how to integrate with third-party solutions using REST APIs in Apex.

By the end of the book, the reader will know how to start developing applications using Apex with confidence.

Key Features
  • Learn how to work with the Apex language.
  • Learn how to develop Apex Triggers.
  • Learn how to use SOQL and SOSL to retrieve data.
  • Learn how to write Object-Oriented Salesforce code.
  • Explore the best practices to deliver scalable and maintainable code.
What Will You Learn
  • Learn how to declare variables in Apex.
  • Understand how to work with collections in Apex.
  • Use different control statements within Apex to control program flow.
  • Learn how to use the built-in tools to test in Apex.
  • Understand how to make callouts to external applications and data sources.
Who This Book is For
This book is intended for those starting out with Apex, whether existing Salesforce Admins or those joining the Salesforce ecosystem with little professional prior programming experience, such as students. The reader is expected to have some basic familiarity with Salesforce as a platform, although key concepts are reviewed.