Salesforce is an incredible platform for both developers and end users. In the past, however, there has been a need to address issues to do with source control and continuous delivery. In its attempts to provide a solution and ensure developers work faster, the company introduced Salesforce DX.
What does it entail?
DX is an acronym for Developer Experience. Salesforce DX came into the picture with the chief aim of enhancing the process that admins and developers undergo to deliver amazing apps. By integrating several features, Salesforce DX attempts to address several concerns. Some of the outstanding features in the Developer Experience include:
Continuous delivery and integration
Many companies admit that continuous delivery is the ultimate way to deliver quality software. Because automatic integration and testing are carried out automatically, there are reduced chances of discovering errors very late in the release process. The shortened period between introduction and identification of a bug makes it very simple to find and subsequently fix a bug. With this, developers will now worry less about time spent on manual testing.
In essence, Salesforce DX aims at making continuous integration and delivery a reality to Salesforce developers. With enhanced abilities of Scratch Orgs, testing of codes while developing just got easier.
New command line interface
Instead of the old school tools, DX introduces a new CLI for developers. This CLI gives provision for programmatic spinning of the environment, retrieval, and deployment of source code and execution of Apex unit tests. Even more, the advanced tool leverages the renowned HerokuToolbelt. For the Salesforce developer community, no other news could be greater than this. It is a serious sign of respect for the development team.
It is possible to launch Scratch Orgs using CLI or API. Notably, the Scratch Orgs can be initialized through JOSAN-based configuration format. Developers will find it easier using source control and faster trying out deployments.
To be honest, Salesforce DX embraces an open attitude as far as tooling is concerned. DX takes advantage of various tools such as:
- Git in source control
- Selenium in testing
Even more, IDE vendors now have multiple tools they can integrate into the editors. Salesforce DX makes available much of what has been restricted as open source. With such provisions, we can expect to see a stronger and livelier ecosystem in future.
The coming of Salesforce DX is great news for developers. It ushers many into a world of convenience and efficiency. Even more, the move has reassured everyone that Salesforce is greatly concerned about their developer experience. Ideally, the company’s leadership has provided a roadmap that will definitely take this platform to the next level. Every user, whether admin or developer, who takes advantage of this integration has reason to smile in future. The major concepts behind Scratch Orgs can only make developer experience easier and nicer as time goes. Finally, Salesforce seems to be moving in the right direction as far as providing better tooling for developers is concerned.
Lucy Jones is a solutions architect at a New York based technology company. She also does consultations with other firms. Lucy has written several posts on CRM such as Salesforce. You can find some of his write-ups at Flosum.com. Feel free to follow her on Twitter as well.