It is a modified way of how developers develop and deliver apps on the platform.It can be defined as a new way accompanying a set of tools bringing a better and latest development flow to Salesforce Developers.It is a product for the App Cloud environment to enhance productivity levels with better control and improved collaboration.
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
A Comprehensive Guide to get started with Salesforce DX
1. A Comprehensive Guide to get started with Salesforce DX
cloud.analogy info@cloudanalogy.com +1(415)830-3899
2. cloud.analogy info@cloudanalogy.com +1(415)830-3899
● Introduction to Salesforce DX
● What DX provides to its users?
● Advantages and disadvantages of Salesforce DX
● Improvements in Salesforce Development brought by Salesforce DX
● Importance of Heroku Flow in Salesforce DX
Agenda
3. cloud.analogy info@cloudanalogy.com +1(415)830-3899
● It is a modified way of how developers develop and deliver apps on the platform.
● It can be defined as a new way accompanying a set of tools bringing a better and
latest development flow to Salesforce Developers.
● It is a product for the App Cloud environment to enhance productivity levels with better
control and improved collaboration.
Introduction to Salesforce DX
4. cloud.analogy info@cloudanalogy.com +1(415)830-3899
A new and advance philosophy, SFDX includes a series of customized tools and features
that enable source-driven development and a new level of custom app development.
5. cloud.analogy info@cloudanalogy.com +1(415)830-3899
● Version Control System - “Version control is the source of truth"
It means developers need to maintain the entire history of code changes to work and
collaborate effectively.
● Use of Scratch orgs -
Scratch orgs are temporary Salesforce orgs, built from source, used for development and
testing, and destroyed when done.
What Salesforce DX provides to its
users?
6. cloud.analogy info@cloudanalogy.com +1(415)830-3899
● Continuous Integration (CI) & Continuous Delivery (CD) -
DX possesses the capacity to improve the quality and it makes sure to release new
modification to the customers quickly in a sustainable way.
● Change Management -
It provides developers with more and deeper data insights to change the production and
manage it easily.
What Salesforce DX provides to its
users?
7. cloud.analogy info@cloudanalogy.com +1(415)830-3899
Using version control on whole code and metadata,
you can work in a well-organized way in the
development and testing phase. You don't have to
go through the same process of setting up and
syncing the sandboxes anymore.
Summary
8. cloud.analogy info@cloudanalogy.com +1(415)830-3899
● Improves team collaboration and development
● Makes the release cycle process more agile
● Allows use of any tool to modify the code
● Facilitates automated testing
● Enables continuous integration
● Requires a local development setup
Advantages of Salesforce DX
9. Disadvantages of Salesforce
DX
cloud.analogy info@cloudanalogy.com +1(415)830-3899
● Some features are still missing and yet to come so users may confront some errors.
● It needs heavy line commands and instructions.
● The learning curve for developers is extremely high
10. cloud.analogy info@cloudanalogy.com +1(415)830-3899
Problem: Apex Development
Developers had the ability of custom development with three possible approaches:
● Implementing the code in the developer console
● Developing in desired Integrated development environment (IDE)
● Copy paste your code into the organization
The copy paste method increases the risk of replication of someone else’s code.
Developers are constricted to validate and save their code while using the developer console.
Unable to access the history of the code changes.
Improvement in Salesforce
Development by Salesforce DX
11. cloud.analogy info@cloudanalogy.com +1(415)830-3899
Solution: Salesforce DX
DX introduces the new tool salesforce Command line interface that helps in retrieving
metadata, creating a project, and exporting & importing data.
It enable developers to develop a project with a customized structure occupied with APEX
classes and implement the code directly to a Salesforce Org.
DX provides the ability to retrieve the code and store it locally and make changes without
impacting the Org.
Improvement in Salesforce
Development by Salesforce DX
12. cloud.analogy info@cloudanalogy.com +1(415)830-3899
Salesforce DX is an excellent choice for Salesforce
development projects with a slew of new and useful
features. DX from Salesforce empowers the admin
as well as the developers to work with more
flexibility together than before.
Conclusion