Book Image

Salesforce Platform Developer I Certification Guide

By : Jan Vandevelde, Gunther Roskams
Book Image

Salesforce Platform Developer I Certification Guide

By: Jan Vandevelde, Gunther Roskams

Overview of this book

Salesforce Lightning Platform, used to build enterprise apps, is being increasingly adopted by admins, business analysts, consultants, architects, and especially developers. With this Salesforce certification, you'll be able to enhance your development skills and become a valuable member of your organization. This certification guide is designed to be completely aligned with the official exam study guide for the latest Salesforce Certified Platform Developer I release and includes updates from Spring '19. Starting with Salesforce fundamentals and performing data modeling and management, you’ll progress to automating logic and processes and working on user interfaces with Salesforce components. Finally, you'll learn how to work with testing frameworks, perform debugging, and deploy metadata, and get to grips with useful tips and tricks. Each chapter concludes with sample questions that are commonly found in the exam, and the book wraps up with mock tests to help you prepare for the DEV501 certification exam. By the end of the book, you’ll be ready to take the exam and earn your Salesforce Certified Platform Developer I certification.
Table of Contents (15 chapters)
Free Chapter
1
Section 1: Fundamentals, Data Modeling, and Management
4
Section 2: Logic, Process Automation, and the User Interface
9
Section 3: Testing, Debugging, and Exercise
12
Mock Tests

Apex Basics

Apex is an object-oriented programming (OOP) language, similar to Java or other OOP languages, that is executed by the Lightning Platform. Like any other OOP language, Apex uses classes, methods, variables, constants, annotations, and so on. However, unusually, Apex is not case-sensitive, while other languages (such as Java) are.

If you don't know what the definition of OOP is, I can recommend the book, Head First Java, 2nd Edition (you can buy it from http://bit.ly/HeadFJava). If you are familiar with programming in Java, you will see some similarities and some differences. In this book, I will explain how we use OOP within Salesforce by using Apex.

In this chapter, we will cover the following topics:

  • What Apex is and how to develop it
  • Understanding data types in Apex
  • Understanding access to classes in Apex
  • Controlling your logic with control flow statements...