Salesforce DX (SFDX): What is it? Why should we use it?
Salesforce without version control:
Imagine a world without version control. Scary right? But that’s how it has been for Salesforce since the beginning. For those who have never worked with a version control system and are wondering what the hell is it, think of it as a safe deposit box for your code with an ability to travel in the past. For more details visit Getting Started About Version Control. So, going back, Salesforce didn’t have a way to track changes or maintain a version control to begin with. One might ask the question why? It is pretty obvious, isn’t it? Salesforce started primarily as a CRM tool where the most changes you would do were just configuration changes. A little drag and drop here and there and you are ready. Change sets were good enough back then. Maintaining changes wasnt that difficult.


What changed?
Customisations!! Soon the customers started to realise the customisation potential of Salesforce. They started coming up with requirements which could no longer be delivered with just drag and drop or simple configurations. In the beginning it was just a little bit but eventually the amount of coding implementations started increasing. To the point where multiple developers needed to work on the same file. You know where I am going with this. Everyone started realising the need for a VCS.
The initial attempts at implementing a version control:
Salesforce was yet to implement a VCS, so people started doing it on their own. And it was messy and a hassle and the developers were over-burdened. How? People started using Force.com IDE (Eclipse) which was integrated to Salesforce via the CLI. But there were 2 problems which I could think of at that time.
- This approach couldnt track the configuration changes.
- Force.com IDE had no support for intellisense.
Imagine working as a developer your whole life on IDEs like Visual Studio Editions (hands down the best IDEs ever!!), NetBeans, Sublime Text, (even Eclipse for Java) and then being stuck with an IDE which has no support for Intellisense (for Apex). Bummer!! Because of this, developers would write everything in Developer Console, copy the same thing and paste it in the local file in Force.com IDE and then commit and push. Sometimes they would forget. Imagine the double burden on the developers?? This was a very, very poor approach and sometimes the developers had little say in it.
Enter Salesforce DX (SFDX) with Visual Studio Code (VS Code):
I am not gonna go into the formal definitions and such. But now with SFDX and VS Code you can track all your changes!! Be it the ones you’re making in your IDE (VS Code) or even in your org! (Scratch org). And you can easily push all these tracked changes to your VCS! No more maintaining changes in an excel sheet manually!! Freedom from all that extra counter productive non-sense and more time to focus on the actual implementations! And syncing changes across your VCS, IDE and scratch org is easy peasy! right from your IDE!
Are you itching to get started? See it in action? wanna know how even you could be free from all this manual crap and get everything automated and cool? Coming up right in my next post!

Thank you for every other informative website. The place else may I am getting that kind of info written in such an ideal means? I’ve a undertaking that I’m just now working on, and I’ve been at the glance out for such info.
Everything is very open with a very clear explanation of the challenges.
It was truly informative. Your site is extremely helpful. Thanks for sharing!
May I simply say what a comfort to discover somebody that genuinely understands what they’re talking
about on the internet. You actually know how to bring
a problem to light and make it important. More people
ought to look at this and understand this side of your story.
I was surprised you aren’t more popular because you definitely
possess the gift.
If you want to obtain much from this post then you have to apply such strategies to your
won web site.
Hey there! This post couldn’t be written any better!
Reading this post reminds me of my old room
mate! He always kept talking about this. I will forward this article to him.
Pretty sure he will have a good read. Thanks for sharing!
I am truly glad to glance at this blog posts which includes lots of valuable facts, thanks for
providing these kinds of data.
Great post. I used to be checking continuously this weblog and I’m inspired!
Very helpful info specifically the ultimate section 🙂 I maintain such info a lot.
I used to be seeking this particular info for
a very long time. Thank you and good luck.
I’m impressed, I have to admit. Rarely do I come across
a blog that’s equally educative and entertaining, and let me tell you, you’ve hit the nail on the head.
The issue is an issue that not enough people are
speaking intelligently about. Now i’m very happy I found
this during my hunt for something concerning this.
Have you ever considered about adding a little bit more than just your articles?
I mean, what you say is fundamental and everything.
But think about if you added some great images or videos to give your posts more,
“pop”! Your content is excellent but with pics and video clips, this website could undeniably be one of
the most beneficial in its niche. Fantastic blog!
Incredible! This blog looks exactly like my old one!
It’s on a completely different subject but it has
pretty much the same layout and design. Outstanding choice of colors!
If some one wants to be updated with hottest technologies afterward he must be go to see this website and
be up to date every day.
Please let me know if you’re looking for a author for your site.
You have some really great posts and I feel I would be a good asset.
If you ever want to take some of the load off, I’d absolutely love to write some articles for your blog in exchange for a link back
to mine. Please blast me an email if interested.
Thanks!
It’s the best time to make some plans for the future and it’s time to be happy.
I have read this post and if I could I desire to suggest you few interesting things or
advice. Maybe you can write next articles referring to this article.
I wish to read even more things about it!
We are a group of volunteers and starting a new scheme in our community.
Your site offered us with useful info to work on. You have done a formidable process and our whole community will be thankful to you.
What’s up, I desire to subscribe for this web site to obtain most recent updates,
therefore where can i do it please assist.
Everything is very open with a precise clarification of the issues.
It was truly informative. Your website is very helpful.
Many thanks for sharing!
Howdy, I believe your site could possibly be having browser compatibility issues.
Whenever I take a look at your site in Safari, it looks fine however, if opening in I.E., it’s got some overlapping
issues. I simply wanted to provide you with a quick heads up!
Aside from that, great blog!
Saved as a favorite, I like your web site!
Very nice post. I simply stumbled upon your blog and
wished to mention that I’ve really loved surfing around your
weblog posts. In any case I’ll be subscribing for
your feed and I’m hoping you write again soon!
I read this piece of writing completely on the topic of the resemblance of latest and previous technologies, it’s amazing article.
Every weekend i used to go to see this site, because
i want enjoyment, for the reason that this this site conations actually nice funny
data too.
Hi there, just became alert to your blog through Google, and found that it is really informative.
I’m going to watch out for brussels. I’ll appreciate
if you continue this in future. Numerous people will be benefited from your writing.
Cheers!
What’s up to all, since I am truly keen of reading this web site’s post to be updated on a regular basis.
It consists of nice information.
i love this perfect post