Interested in bringing the benefits of Salesforce DX into your organization but aren't quite sure where to get started?
Salesforce DX defines an entirely new way to manage and develop Salesforce apps, and lets teams build together and deliver continuously.
Come to this webinar and get an insider's view into how you can streamline your development lifecycle by adopting Salesforce DX.
2. Forward-Looking Statement
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or
implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking,
including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements
regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded
services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality
for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and
rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with
completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our
ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment,
our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on
potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent
fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important
disclosures are available on the SEC Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and
may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are
currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
3. Go Social!
Salesforce Developers
Salesforce Developers
Salesforce Developers
The video will be posted to YouTube & the
webinar recap page (same URL as registration).This webinar is being recorded!
@salesforcedevs / #SalesforceDX
4. Have Questions?
Don’t wait until the end to ask your question!
Technical support will answer questions starting now.
Respect Q&A etiquette
Please don’t repeat questions. The support team is working their way down the
queue.
Stick around for live Q&A at the end
Speakers will tackle more questions at the end, time-allowing
Head to Developer Forums
More questions? Visit developer.salesforce.com/forums
5. Agenda
Salesforce DX and Principles of Modern Software Delivery
Adopting Salesforce DX
Migration Recipe
Challenges in Migration
6. Building a world-class software factory
Principles of Modern Software Delivery
Environments
are easily
created and
disposable
Metadata
and code is
modular
Development is
based on open
standards and
extensibility
Everything is
driven from
source code
Development is
organized
around team
collaboration
Processes and
tools facilitate
continuous
delivery
Flexible
packaging
supports agile
distribution
model
7. Improve the Developer Experience
Across Application Lifecycle Management
Plan
Code
BuildTest
Release
CLI for integration with
3rd party editors
Scratch orgs for devs,
built off of source
Continuous Delivery/
build automation
Continuous integration
with test automation
Sandboxes for
performance testing,
UAT, staging
Packaging to
streamline delivery
to prod
VCS as the
source of truth
IDEs, Text Editors,
Language Services
8. CLI
Perform common Force.com development tasks
Continuous integration and delivery
Team development with scratch orgs built from source empower more
automation, higher quality code
Source driven development
Scratch orgs and source change tracking provide greater agility
to test out features with confidence
The Whole Enchilada
Leverage throughout entire application lifecycle
Not just “all or nothing”
Adopting Salesforce DX
10. A group of related code and customizations
Can be tested independently from other components in your org
Able to be released independently
Source components can only live in one project at a time
Organizing the “happy soup” into projects
Project Development
12. Migration Recipe
1. Install CLI
2. Enable Dev Hub in Production/Business Org, or sign up for trial
3. Scaffold a project workspace, add to VCS
4. Update scratch org configuration for desired shape
5. Retrieve and/or convert source from existing org or VCS repo
6. Commit project workspace source to VCS
7. Developers use source-driven development
8. Continuous integration and delivery driven from source in repo
13. Ephemeral Scratch Orgs built from Source
Consistent environments, easily created and disposed
Change Tracking + Source Sync
Changes are easily captured and tested
Test Execution
Trigger apex and lightning tests directly from CLI
Flexible Project Workspace
No longer restricted by Metadata API, organize for your development
Integrate Salesforce DX Source Driven Development Tools
Starting from Existing Package or CI/CD
14. Trailhead Module: Git and Gitub Basics
Background on VCS
Organize Large Org into Projects
Tested and released independently
Ways to Organize your Projects
Lightning components, objects, workflows, supporting an application
Functional, such as supporting a sales team
Extensions related to a package installed from AppExchange
Layers such as schema, business logic, UI
Create projects and migrate to version control system (VCS)
Starting from Happy Soup Development
15. Anti Patterns
Don’t export entire org as a single project
Modularize
Be careful with schema
Put shared schema in it’s own project
Watch for shared objects
Add to a common project
Running without CI
At a minimum include CI runs for each
commit
Don’t export live data from production org
Create targeted data for functional
testing
No integration testing
Plan for integration and UAT testing
after deployment to sandboxes or
production
Reliance on Profiles
Whenever possible use permission sets
16. Join the Salesforce DX Open Beta
Two easy ways to get started
Get a Trial Org
with Dev Hub Enabled
30 day Free Trial
Sign Up at:
sfdc.co/DX-Trial-Org
Enable
Dev Hub
in a Production or
Business Org
From Setup, search on
“Dev Hub” and then click
Enabled.
17.
18. Survey
Your feedback is crucial to the success of our
webinar programs. Please fill out the survey at
the end of the webinar. Thank you!
19. Q & A
Try Trailhead: trailhead.salesforce.com
Join the conversation: @salesforcedevs
Hinweis der Redaktion
With a focus on source-driven development, Salesforce DX makes it easier for developers to build together and deliver continuously using the tools that make them most productive. It starts starts with our core principles.
Everything is driven from source code
Environments are easily created and disposable
Development is organized around team collaboration
Metadata and code are modular
Development is based on open standards and extensibility
Processes and tools facilitate continuous delivery
Flexible packaging supports agile distribution model
With a focus on source-driven development, Salesforce DX makes it easier for developers to build together and deliver continuously using the tools that make them most productive. It starts starts with our core principles.
Everything is driven from source code
Environments are easily created and disposable
Development is organized around team collaboration
Metadata and code are modular
Development is based on open standards and extensibility
Processes and tools facilitate continuous delivery
Flexible packaging supports agile distribution model