10 Salesforce Apex Best Practices You NEED to Know!

preview_player
Показать описание
As you may know, Apex is the coding language behind Salesforce, allowing developers to execute flow and transaction control statements on Salesforce servers in conjunction with calls to the API.

Like any coding language, Apex has a series of best practices to make sure it works effectively and doesn’t cause issues for you and your org. What are these best practices? Well, stick around and find out!

00:00 Intro
00:35 Bulkify Your Code
01:15 Avoid DML/SOQL Queries in Loops
02:10 Avoid Business Logic in Triggers
02:45 Use a Single Trigger per Object Type
03:40 Explicitly Declare Sharing Model
04:34 Avoid Hard-Coded IDs
05:59 Use SOQL for Loops
07:12 Naming Conventions
07:45 Modularize Your Code
09:34 Test Multiple Scenarios

Follow us on our socials! 📱

And don't forget to subscribe!

#salesforce #salesforceadmin #salesforcedeveloper #salesforceforbeginners #trailblazercommunity #tech #apex #code #codinglanguage #tips
Рекомендации по теме
Комментарии
Автор

I just wanted to say how much I enjoyed your video, as I started working in this area last year, your videos always help me. Thanks to your guidance, I was able to earn my first certification, Associate, and I'm now working towards the Administrator Certificate by the end of the year.

Your work is invaluable to the Salesforce community, and I truly appreciate the effort you put into creating such high-quality content. Congratulations on another great video, and keep up the fantastic work!

cTnOo