Course Overview
Learn how to customize and design applications programmatically on the Salesforce Platform. In this 5-day class our platform experts will introduce you to Apex (Salesforce’s programming language) and Visualforce markup, so you can customize your Salesforce applications using code and explore how Apex interacts with declarative customizations on the platform. Learn how to retrieve, manipulate, and store data programmatically in data objects (sObjects), write and test custom logic, write Visualforce pages to customize your user interface, and deploy your solutions to another environment. Get an overview of the declarative automation tools available on the platform and a brief introduction to the Lightning Component framework. Plus, explore the nuances of working on a multi-tenant platform so you can extend the platform to meet business demands.
Course Objectives
- Learn modern tools for developing on the Salesforce Platform using Visual Studio Code, the Salesforce Extension Pack, and the Salesforce CLI.
- Write business logic customizations using Apex triggers and classes; those customizations will use SOQL and DML.
- Design programmatic solutions that take advantage of declarative customizations.
- Describe how your trigger code works within the basics of the Save Order of Execution.
- Describe some of the fundamental aspects of designing programs on a multi-tenant platform.
- Write Visualforce markup and code to customize the user interface.
- Use the built-in testing framework to test Apex and Visualforce.
Who Should Attend?
This course is designed for programmatic developers looking to write programmatic customizations to both business logic and UI layers using Apex and Visualforce. You should have a good understanding of core object-oriented programming concepts and experience building declarative solutions on the Salesforce Platform. This course is also a great foundation builder if you’re looking to earn your Salesforce Platform Developer I credential.
- Top-rated instructors: Our crew of subject matter experts have an average instructor rating of 4.8 out of 5 across thousands of reviews.
- Authorized content: We maintain more than 35 Authorized Training Partnerships with the top players in tech, ensuring your course materials contain the most relevant and up-to date information.
- Interactive classroom participation: Our virtual training includes live lectures, demonstrations and virtual labs that allow you to participate in discussions with your instructor and fellow classmates to get real-time feedback.
- Post Class Resources: Review your class content, catch up on any material you may have missed or perfect your new skills with access to resources after your course is complete.
- Private Group Training: Let our world-class instructors deliver exclusive training courses just for your employees. Our private group training is designed to promote your team’s shared growth and skill development.
- Tailored Training Solutions: Our subject matter experts can customize the class to specifically address the unique goals of your team.
Course Prerequisites
There are no prerequisites for this course.
Agenda
Declarative Automation
- Create Formula Fields
- Create Roll-Up Summary Fields
- Understand Record Types
- Review Other Automation Tools
- Build a Data Model on the Salesforce
Platform Programming with Apex
- Describe Key Aspects of Apex That Differentiate It from Other Languages, Such as Java and C#
- Describe Why Apex Transactions and Governor Limits Must Be Considered When Writing Apex
- Execute Simple Apex
- Use the sObject Data Type, the Primitive Data Types, and Basic
- Control Statements in Apex
Using SOQL and SOSL to Retrieve Your Org’s Data
- Write a Basic Query Using Salesforce’s Query Language, SOQL
- Process the Result of a Query in Apex
- Create a Query Dynamically at Run-Time
- Use SOQL to Query Parent-Child Relationships
- Describe a Relationship Query Write a Query That Traverses a Child-to-Parent Relationship
- Write a Query That Traverses a Parent-to-Child Relationship
- Use SOSL to Search Data
Using DML to Manipulate Your Org’s Data
- List the Differences Between the Ways You Can Invoke DML Operations
- Write Apex to Invoke DML Operations and Handle DML Errors
Deployment
- What Is Deployment?
- Deploy Code Using Change Sets
- Use the Ant Migration Tool
- Review Managed and Unmanaged Packages
- Explore Salesforce DX
Trigger Essentials
- Describe What a Trigger Is Used For
- Describe the Syntax of a Trigger Definition
- Use Trigger Context Variables
Apex Class Essentials
- Describe How Apex Classes Are Used
- Define an Apex Class
- Determine What Data an Apex Class Can Access
The Save Order of Execution, Apex Transactions, and Platform Events
- Describe Key Points in the Order of Execution
- Describe How Triggers Fit into and Can Be Impacted by the Order of Execution
- Describe the Lifecycle of an Apex Transaction
- Describe the Memory Lifecycle for Static Attributes
- Use Platform Events for Immediate Error Logging
Apex Testing
- Describe the Apex Testing Framework
- Create Test Data Write and Run an Apex Test
- Test Best Practices
Strategies for Designing Efficient Apex Solutions
- Describe Best Practices for Writing Code That Is Easy to Maintain and Extend
- Write Triggers and Classes That Assume Batches of Data as Input
- Write Code That Works Efficiently with the Database, Both in Querying and Using DML
Trigger Design Strategies
- List Declarative Mechanisms You Can Use to Implement Complex Business Logic, What Types of Problems They’re Best Used for, and Their Limitations
- Describe Ways in Which You Can Use Declarative Functionality to Improve Your Programmatic Solutions
Working with Visualforce
- Create a Visualforce Page
- Reference a Standard Controller
- Launch a Visualforce Page Using a Custom Button
- Display Data from a Record in a Visualforce Page
- Reference Custom Controllers and Controller Extensions
- Work with List Controllers
Lightning Components
- Create and Surface an Aura Component
- Create and Surface a Lightning Web Component
Visualforce Development Considerations and Testing
- Describe Common Limit Issues and Security Concerns
- Describe Strategies for Testing Visualforce Controllers
- Write Tests for Controller Constructors
- Write Tests for Action Methods, Getters, Setters, and Properties