Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
Do you want to deploy a set of changes, or create a self-contained application? Choose a development model.
The sfdx-project.json
file contains useful configuration information for your project. See Salesforce DX Project Configuration in the Salesforce DX Developer Guide for details about this file.
- Salesforce Extensions Documentation
- Salesforce CLI Setup Guide
- Salesforce DX Developer Guide
- Salesforce CLI Command Reference
Note: This project will consist of:
- a mix of declarative and custom development,
- fields creation (if necessary),
- Validation rules,
- and more...
I like to start by thinking about the algorithm then write the simple code I can think of. Then start the refactoring phase where I anaylze and check for codes that can be extracted into a new method, better way to implement features and testing each implementation/extraction using the 'Anonymous Window' in Developer Edition org.
Same goes for test classes, define all methods needed by testing best, worst cases scenarios and then refactoring code by extracting load data into a setup method or even utility class.
And I usually code from the 'Developer Console' Because of the real-time error check feature