In our second installment we solve a Trailhead module using SFDX source driven development. And also get into some Git fundamentals. We will develop our solution in a scratch org and then deploy it to our DevHub to pass the Trailhead Challenge. I also make a few embarrassing mistakes along the way.
One of the things that frustrated me when I was starting to learn to code was the syntax – or grammar- around creating a method in Apex or Java. I felt like every tutorial sort of blew past it and I was stuck trying to remember and understand what combination of cryptic terms to string together. I have tried to touch on this in other videos. But I don’t think I did a good job. This time all we are going to talk about are those few words that are part of every method in Apex you will ever right.
And remember to please like and subscribe on my Youtube channel.
I am very excited to share this series. We are going to take on the Trailhead Apex Triggers module. But we will go it with SFDX style development. I think one of the best ways get comfortable with SFDX is to use it in your Trailhead challenges. So will be creating a git and Github repository, doing our development in a scratch org and pushing the code to our dev hub for the Trailhead challenge evaluation.
Lets have some fun and build a starship in Apex while we explore static vs instance methods.
For, For Each and SOQL For Loop
Part two in our series on Apex loop structures. These are the loops you will use every day and it is important to know which tool is the right one for the job at hand.
While and Do While Loops
I recently had a request for a video on Apex loop structures. Loops are a fundamental part of almost every program. To keep the videos shorter I decided to make one with the While and Do While Loop. Part II will have the For Loop, Enhanced For Loop and the SOQL For Loop.
Manipulate Records with DML
In part two we explore DML (Data Manipulation Language), static vs instance methods and how to use a try / catch block.