SalesforceDX
Package Based Development Model
Package Based Development Model
SalesforceDX
SalesforceDX provides a new better approach for salesforce development and customization. It is the source driven development where VCS (Version Control System) is the source of truth. Salesforce DX project manages source code and metadata outside of the org. Salesforce CLI provides metadata API's and command line interface to interact with scratch orgs and sandboxes. Agile development with big team could be possible very easily because developers can build and test functionalities simultaneously in their scratch orgs.
- Creation of SalesforceDX project
- Authorize DevHub org
- Create scratch org
- Push data from VS to scratch org and check
Visual Studio Code
Visual studio code is lightweight code editor, it is free and open source. Download and install it on your system. Launch it and from extensions tab install 'Salesforce Extension Pack' extension. For easier and faster development extensions are important.
To execute commands press 'ctrl+shift+p'
To execute commands press 'ctrl+shift+p'
Scratch Org
Scratch org is temporary and disposable salesforce environment, individual developer can create it to build/test functionality independently. Scratch org is source driven and fully configurable and also facilitate continuous integration. Creation and deletion of scratch org managed through CLI commands or through visual code extensions. Sandbox code is assembled or deployed in production, scratch org is below one level of sandbox, scratch org's code assembled in sandbox.Salesforce CLI
Salesforce CLI is powerful tool , which has a aggregation of multiple salesforce API . It synchronizes source code and metadata to and from scratch org. You can easily create, authorize and can control life cycle of application.Installation link: https://developer.salesforce.com/tools/sfdxcli
No comments:
Post a Comment