Hey, I'm Ethan. I'm a Salesforce developer at Digital Mass. I'm back to talk about source control and how it fits into Salesforce. Source control is a really important tool used by most of the software industry, but that's not the case when it comes to Salesforce for a variety of reasons for that, but mostly due to the fact that not everything in Salesforce is code. In fact, in some Orgs, almost nothing is code. And in other Orgs, almost everything is code. This can make developing an implementation strategy around source control, very difficult and extremely nuanced. Fortunately, for us, there are tools like Gearset or auto rabbit, combined with Git that can make this a lot easier. The first part of this is CI: continuous integration. Taking the time to set up the implementation so that it fits in your team is going to help benefit you for a very long time.
You're going to see features come out faster, have fewer developers overwriting code, and no more gatekeeping on only one person being able to work on a slew of stories because they all touch the same file. The other side of this is CD. Continuous deployment means that your developers are constantly pushing code. Whether that be to QA, to your staging environment, or to production. The idea is that the more deployments that you have, the smaller they are, and the easier it is to diagnose bugs. You can very easily go through the commit history and see what has been deployed by who, and quickly diagnose the problems between the differences from org to org. Using tools like Gearset or Auto Rabbit, you can set up jobs that listen to these branches. And when you push go to these branches they will auto-deploy to your org. It's going to save you time because you're not going to have to manage your deployments nearly as strictly. Implementing CI/CD in your Salesforce team is often more of a discipline and coordination problem than it is a technical one. With the ability for the developers to work on similar features, you're going to speed up development, you're going to increase the quality of your code, and therefore, the health of your Salesforce work. Thanks for listening and leave a comment below talking about source control in Salesforce.
About the developer:
Ethan King's love for tech is rooted in being surrounded by techies all of his life. By middle school, he was building computers from scratch, and through high school, he started to dabble with code. Ethan continued his formal education at Anoka Technical College, where he received his degree in Computer Software Engineering.
While he was getting his degree, Ethan worked as a Web Developer and taught guitar lessons. He joined the Digital Mass team at the top of 2019 and has since gotten the Salesforce Administrator and Salesforce Platform Developer l certifications.
Outside of work, Ethan likes to play guitar, be outdoors hunting or fishing and loves a good Stephen King Novel (no, they're not related).