Salesforce DX is set to bring about radical changes in developer experience


The way you deploy applications in Salesforce is now set to change because the introduction of Salesforce DX is going to bring about a complete shift in the development and testing of apps and software.   Unlike the platforms of Java, Net, etc., Salesforce was entirely different, and the new version would bring it more in tune with those application development methods.  The new version has features like CLI, IDE2, improved Meta data API, Scratch orgs, CI solution, version control system as the source of truth and much more.

Making the life of developers easy by allowing working in a collaborative environment with much more sophisticated dependency and support for open source tools is the purpose of the new development that has caught everybody’s attention. It will chart out a whole new path for working on the Salesforce platform. Developers would now be able to develop smarter apps in a faster way while doing it together – this is perhaps the best way to describe the functionality of the new platform. What kind of new experience awaits developers would be clear from this article.

CLI or Command Line Interface

The Heroku CLI serves as the foundation on which the new command line interface is built with the purpose of allowing developers to use all the APIs via a CLI.  Developers would make use of the CLI to write automation scripts for fulfilling the tasks of building, deployment and much more. IDE2

The IDE would deliver all capabilities of CLI on which the IDE is based.  Developers would be able to edit in the browser while remaining within the IDE and it is even possible to load Lightning App Builder in a browser from within the IDE. It would be possible to commit to GitHub/repository while remaining within the IDE. There is provision for new test runner in IDE to enable developers to inject Selenium script or other test frameworks script.

Scratch Orgs

For development, developers would be able to create their own disposable Org. This marked departure from the previous method of sharing Sandbox with many others is a high impacting change that developers are eagerly waiting for. It would give developers enough liberty and elbow room to become more innovative.  Developers can create, manage and control scratch orgs using CLI commands.

Continuous Integration (CI)

Salesforce has used the Heroku platform consisting of Heroku CI and Heroku pipeline to build the solution for continuous integration and continuous delivery upon it.  It will be capable of supporting Salesforce applications and Apex. Most likely, developers would also be able to use other tools like TeamCity or Jenkins. By using these tools, developers can build automation scripts too in the CLI.

Version Control and GitHub Integration

The new tool can support different options of Version Control System and use source control for Meta data, source code, test data, test configuration and Salesforce org shape.

The preview of the new tool is going on with selected customers as we wait for the big day when we could use it.

About the author: Alvin Jones is a CRM technology Consultant who has often guided companies like in matters related to Salesforce applications. Having a penchant for writing, he leaves no opportunity to hone his writing skills on technical topics he likes most.