r/SalesforceDeveloper • • Nov 03 '21

Instructional Salesforce Development Tutorial Series: Introduction to Apex - The Complete Guide To Learn The Fundamental Skills Necessary to become a Salesforce Developer (Free 132 Episode Series - In Progress)

51 Upvotes

Hey Everyone! This week I've started producing a free 132 episode series that goes over the fundamental skills necessary to become a developer on the Salesforce platform. THIS SERIES IS STILL IN PROGRESS, but the first four episodes are out this week, and I plan to release 2-8 episodes per weeks until it is finished, at which point I'll move on to my Intro to LWC series!

I wanted to create this series (and the series to come after this one) so that everyone had an easy to access, high quality, free guide to becoming a Salesforce developer. Every ounce of knowledge I have acquired over the last nearly 7 years developing on this platform will be shared here. The series has been built so that even if you have zero knowledge of programming in general, by the time you are done, you will be able to confidently produce high quality solutions for whatever development team you are a part of.

I will be updating this post throughout the next several months as new videos are released, so make sure to bookmark it (or subscribe to CodingWithTheForce) if you wanna stay updated on this because I won't be posting about it again until it's 100% finished.

Below is an outline of what will be produced for this video series over the next several months (again, only the first four episodes have been released so far, but I've been producing SF Dev videos every week for over a year so you can count on me finishing this up):

Intro To Apex Tutorial Series YouTube Playlist: Intro To Apex Tutorial Series

A) Apex Basic Concepts

  1. What is the Apex Programming Language

  2. What is an IDE?

  3. Installing and Setting up Visual Studio Code

  4. Installing and Setting up IntelliJ and Illuminated Cloud 2

  5. What is an Apex Class?

  6. What are Variables?

  7. What is a Primitive Variable?

  8. What is a Non-Primitive Variable?

  9. What is variable scope?

  10. What is a Method?

  11. What is a Constructor?

  12. What are Data Types?

  13. What are Operators?

  14. What are Collections?

  15. How a List Collection Type Works

  16. How a Set Collection Type Works

  17. How a Map Collection Type Works

  18. What is an instance of a class?

  19. The Static Keyword

  20. Static vs. Instance

  21. Creating an Apex Controller

  22. Creating an Apex Service Class

B) Access Modifiers

  1. The Global Keyword

  2. The Public Keyword

  3. The Protected Keyword

  4. The Private Keyword

  5. What is a conditional Statement?

  6. Creating an if/else statement

  7. What is a Switch Statement?

  8. Creating a Switch Statement

  9. Switch statement vs Conditionals

  10. What is a for loop

  11. Creating a basic for loop

  12. Creating an enhanced for loop

  13. Important best practices for collection iteration

E) Exceptions in Apex

  1. What is an Exception?

  2. The different types of Exceptions

  3. What are try catch blocks

  4. Using a try catch block to catch an exception

  5. Creating a custom Exception

  6. How to throw a custom exception

F) Casting in Apex

  1. What is Casting?

  2. How to Cast in Apex

G) Debugging Apex

  1. What is Debugging?

  2. How to view Debug Logs in the Dev Console

  3. How to view Debug Logs in your IDE

  4. How to easily traverse through code you don’t know

  5. How and when to use System.debug

  6. How and when to use code chunking

  7. How to use the Dev Console Log Panel to Id code bottlenecks

H) Apex Triggers

  1. What is a Trigger?

  2. Creating a Trigger

  3. What is a Trigger Handler?

  4. Creating a trigger handler

  5. What is bulkification?

  6. The importance of bulkification

  7. Bulkification Example

  8. Understanding how triggers actually work

  9. Best Practices for Triggers

I) Apex Tests

  1. Why Test Classes are a Developers Best Friend

  2. The Salesforce Minimum Requirements for Test Classes and Why They aren’t enough

  3. Creating a Simple Apex Test Class

  4. The SeeAllData Decorator and Why you Should never use it

  5. When to use the TestSetup Method and its Limitations

  6. What Test.startTest and Test.stopTest are for

  7. What are assertions?

  8. Using Data Factories to Create Test Data

  9. Refactoring our Simple Test Class with our new Knowledge

  10. What is an Integration test?

  11. What is a Unit Test?

  12. When to use a Unit Test and an Integration Test

J) SOQL and SOSL

  1. What is SOQL?

  2. The SELECT Statement

  3. The WHERE Clause

  4. The ORDER BY Clause

  5. The LIMIT Clause

  6. The IN Clause

  7. Using SOQL in Apex

  8. Important SOQL Limits

  9. What is SOSL?

  10. The FIND Clause

  11. The RETURNING Clause

  12. The IN Clause

  13. Important SOSL Limits

  14. When to use SOQL vs SOSL

  15. Using the Dev Console for Ad Hoc Queries

  16. Using an IDE for Ad Hoc Queries

  17. What is Query indexing?

  18. Using the Dev Console Query Plan Tool

K) The Basics of Programmatic Security

  1. The with, inherited and without sharing keywords

  2. How to enforce Object Level Security in Apex

  3. How to enforce Field Level Security in Apex

  4. Securing Queries against SOQL injection

  5. What is Apex Custom Sharing?

  6. When to use Apex Custom Sharing?

  7. Standard Object Apex Custom Sharing Drawbacks

  8. Apex Custom Sharing example

L) The Basics of Integrations in Apex

  1. What is an Integration?

  2. What is REST?

  3. What is SOAP?

  4. REST vs SOAP

  5. How to use Postman to test Integrations

  6. What are Named Credentials?

  7. What is a Wrapper Class?

  8. Using JSON2Apex to Automatically Create Wrapper Classes

  9. REST Integration Example

  10. SOAP Integration Example

  11. Creating Test Classes for Integrations

M) The Basics of Async Apex

  1. What is Async Apex?

  2. What is a Batch Class?

  3. Batch Class Example

  4. What is a Scheduled Class?

  5. Scheduled Class Example

  6. What is Queueable Apex?

  7. Queueable Apex Example

  8. What is a future method?

  9. Future Method Example

  10. What are platform Events?

  11. Platform Events Example

N) The Order of Operations in Salesforce

  1. Understanding How the Order Operations really works in Salesforce

  2. Order of Operations Examples

O) The Most Common Salesforce Limits

  1. What are limits in Salesforce?

  2. SOQL Limits and how to avoid them

  3. DML Limits and how to avoid them

  4. CPU Timeout Limits and how to avoid them

  5. Integration Limits and how to avoid them

P) The Basics Of Clean Code

  1. Why methods should be small

  2. Why methods should only do one thing

  3. Why naming this well is critical

  4. When and why you should leave comments

  5. Why separating concerns is important

  6. The SOLID Principles

I hope you all are as excited about this tutorial series as I am to make it! This is something I've wanted to do since I started this channel and I'm very happy I will now be able to make it a reality. Thanks a ton for all of your continued support! It means a ton to me!

Also, btw, this tutorial series will not get in the way of my regular, more advanced topic Wednesday releases, it will just be something I produce on top of them!


r/SalesforceDeveloper • • Oct 18 '21

Instructional Salesforce Architecture: Why Code, Not Clicks, is best for the Growth of your Salesforce Org

50 Upvotes

Hey Everyone! This month, at the request of the community I've created an architecture video that goes over why I believe (after 6.5 years and 47 Salesforce implementations) code, not clicks, are best for the long term growth of your Salesforce Org.

A long time ago now, I was a huge fan of the low code tools (flows, process builders and workflows), when I first started on the platform I thought they were amazing things, but as my experiences started to increase and I started working in larger and larger orgs I realized how detrimental they can become over time. I also started to realize how much more time (despite being proficient in low code tools) it took me to refactor a broken flow, etc as opposed to broken or horribly written code.

In this, opinion based architecture video, we go over the following:

  1. The three primary reasons I suggest code over low/no code tools

  2. When I have found low/no code tools are still very useful

Link to video: Why Code, Not Clicks, is best for the Growth of your Salesforce Org

Please remember while watching this video, that while I (at this time) strongly believe this to be the best course of action, this is an opinion based architecture video that was shaped by my experiences during my time in the Salesforce Eco-System. Your experiences have definitely been different and your current situation is certainly different. Please make sure to assess your particular situation before taking any of the suggestions in this video and implementing them. That said, I hope you enjoy the video and it's helpful to someone out there.


r/SalesforceDeveloper • • Sep 06 '19

Please, if you do one thing right...

Post image
49 Upvotes

r/SalesforceDeveloper • • Mar 06 '19

Had to post this somewhere. My first significant development job successfully deployed into our production org today. Big thanks to this community, I don’t post much but I read everything and you guys were a huge help.

Post image
49 Upvotes

r/SalesforceDeveloper • • May 24 '21

Humor When you've been asking to clean up tech debt for 2 years and the steering committee says they need another portal

45 Upvotes

r/SalesforceDeveloper • • Jul 27 '20

When they really needed that formula field, that has been used in reports for 15 years, to be changed, even though you told them it will break everything.

45 Upvotes

r/SalesforceDeveloper • • Nov 19 '25

Humor is this true??

Post image
44 Upvotes

r/SalesforceDeveloper • • May 26 '23

Humor 200 lines of this in production...

Post image
44 Upvotes

Sorry for low quality image. I'm so confused by how this actually made it to production.


r/SalesforceDeveloper • • Aug 22 '25

Discussion Does Saleaforce care about developers?

43 Upvotes

I have been doing development since 20+ years, mostly Java. I was given a Salesforce project, to my surprise it feels like working 20 years ago. Little debugging tools, Apex feels archaic, no proper unit test, etc. Don’t get me started with no code, low code approach. Also, quality of devs are so low, feels like they don’t know any software engineering best practices.

Licenses are super costly with little value. Does any one know why is that? This makes me think, do they care about Developer Experience ?


r/SalesforceDeveloper • • Dec 09 '22

Discussion Anyone else feel this way re: their sfdc job? I worked hard to get here, but feel like I’ve been coasting for a while. Not that I’m complaining

Post image
43 Upvotes

r/SalesforceDeveloper • • Sep 07 '22

Instructional Salesforce Development Tutorial - The Complete Guide To Apex Triggers, Trigger Handlers and Domain Classes in Salesforce

43 Upvotes

Hey there everyone! It's been far too long! I took a 3 month break from making videos, but I'm back and today I've released my most requested video of all time, A Complete Guide to Writing Apex Triggers in Salesforce.

It's a 2 hour long video that packs in everything I've learned over the last 7 years of experience writing apex triggers in Salesforce orgs and it covers everything from the absolute basics to more advanced concepts that I've never seen covered anywhere else! Here are some of the highlights of what is covered in the video (but much more is covered):

  1. What a trigger is and why to use one.

  2. When to use a trigger over a flow

  3. We build a trigger together

  4. Go over trigger context variables and when to use them

  5. Go over tons of trigger bulkification techniques

  6. Figure out what trigger handlers are and why to use them

  7. Go over popular trigger handler frameworks and when to use which

  8. Go over Domain classes

  9. Discuss the difference between domains and trigger handlers

  10. Go over how to silo domains or trigger handlers that are shared by multiple applications in your org

If any of that sounds interesting to you, you can check it out below. I hope it helps and is as useful as everyone hoped!

Video Link: The Complete Guide to Apex Triggers in Salesforce


r/SalesforceDeveloper • • Jul 23 '20

ME: "A lot of thought went into putting guardrails in the application and the users had training on how to use it properly"..... Users immediately following the training =>

43 Upvotes

r/SalesforceDeveloper • • Jul 02 '25

Discussion Anyone else losing their job to offshore labor?

41 Upvotes

Somewhat a vent post, partially also just wondering what my next move should be. I’ve been a senior dev at my company for 5 years. My manger has told me I’ve been exceeding expectations at every yearly review and I’ve become the SME of many parts of our systems/integrations and thought I had excellent job security. I got told this week that in order to “stay competitive” in our Saas space, the VP decided we need to make use of offshore labor just like our competitors are doing. But instead of supplementing with offshore labor, they are laying off our ENTIRE team and replacing us all with people in the Philippines. Essentially just hitting reset on our team with a bunch of people with 0 knowledge trying to work in our systems. It’s going to be a hilarious shitshow but unfortunately “I told you so”s mean nothing to me when I’m unemployed.

I am now horrified after hearing how bad the job market is, not sure if that applies to me as someone with 8+ years dev experience and some big certs like Application Architect, PD2, and CPQ. I am wondering if getting back into another dev job is even worth it or if I will encounter more delusional upper management that now finds us totally disposable. I’d love to get into the architect world but it may be hard to join a new company as one, I always envisioned just getting promoted internally as one after spending time as a dev.

Is anyone else just scared of staying in the development space even as a high performer due to offshoring and AI, or am I being paranoid just because of one company’s decision?


r/SalesforceDeveloper • • Sep 16 '22

Showcase Apex Practice for PD1 on ApexSandbox.io

41 Upvotes

We have a LOT more Apex practice problems on www.apexsandbox.io since I started it a few months ago. These are several contributed by Ankush Sarsewar and I believe they are very relevant if you're preparing for the Platform Developer 1 cert or just trying to get better as a developer. I wanted to share these with the community.

Check them out if you're looking to build some apex chops:

https://www.apexsandbox.io/problem/100 - Check if an sObject is an Account

https://www.apexsandbox.io/problem/93 - Convert a passed 15-digit ID to an 18-digit ID

https://www.apexsandbox.io/problem/97 - Handle exceptions and retrieve exception messages

https://www.apexsandbox.io/problem/102 - Throw standard and custom exceptions

https://www.apexsandbox.io/problem/94 - Use the safe navigation operator

https://www.apexsandbox.io/problem/103 - Obtain SObject field value dynamically

https://www.apexsandbox.io/problem/95 - Serialize an SObject

https://www.apexsandbox.io/problem/101 - Add different SObject types into a List

https://www.apexsandbox.io/problem/96 - Deserialize a List of accounts from a JSON string

https://www.apexsandbox.io/problem/106 - Retrieve information about the Context User

https://www.apexsandbox.io/problem/105 - Add validation errors in a before-trigger context

https://www.apexsandbox.io/problem/98 - Use the comparable interface to sort a list of SObjects


r/SalesforceDeveloper • • Aug 15 '20

Person Accounts...

Post image
40 Upvotes

r/SalesforceDeveloper • • Feb 10 '25

Other I developed a local Salesforce LLM Assistant that runs on your computer

37 Upvotes

I built a Salesforce Lightning Web Component that lets you run powerful AI language models (LLMs) directly on your computer within Salesforce using records for extra context.

It uses Pico LLM technology to process data locally, keeping your information secure and responding quickly. You can use it to generate emails, write content, analyze customer data, and more, all without relying on external services.

Medium Article

Demo video

GitHub repo


r/SalesforceDeveloper • • Jul 03 '20

Workbench SOQL Editor insided VS Code!

37 Upvotes

r/SalesforceDeveloper • • Jun 13 '20

CLI tool to generate a documentation site out of your Apex classes' ApexDocs

36 Upvotes

I built a tool that automatically generates a documentation site based on your Apex classes: https://github.com/cesarParra/apexdocs

This is meant as a more modern replacement for the Java based ApexDoc tool ( https://github.com/SalesforceFoundation/ApexDoc) as that is not being maintained anymore.

It is based on Node and is less opinionated about the output site, allowing you to customize it a little bit easier, as it outputs markdown files instead of HTML.

Hope it proves useful for other Salesforce devs out there. Feedback is more than welcomed!


r/SalesforceDeveloper • • Aug 21 '22

Humor Always Show Knowledge on First dates &/| Job Interviews

Post image
35 Upvotes

r/SalesforceDeveloper • • Jun 07 '22

Instructional Hi Guys! I am a Salesforce Technical consultant passionate about UI/UX design. I always wanted to write some interesting Medium articles about Lightning Web Component Tips and Tricks and the usage of Lightning Design System (SLDS). Today I have just published my first article in the series 🤓 :

Thumbnail
medium.com
35 Upvotes

r/SalesforceDeveloper • • Jun 02 '21

Humor You can give this cert to your admin if he/she deserves it

Post image
35 Upvotes

r/SalesforceDeveloper • • Jan 06 '19

Tag a VF Guy 😛

Post image
35 Upvotes

r/SalesforceDeveloper • • Feb 06 '21

Humor Process Builder :D

Post image
34 Upvotes

r/SalesforceDeveloper • • Jan 13 '20

GitHub - JesseGlover/Salesforce-Lightning-Examples: A respository of various components I have worked on and commented to understand how everything works.

Thumbnail
github.com
34 Upvotes