包开发模式导读 (Package Development Model)

前言

我在上周的DX分享介绍中,提到过DX的核心就是面向package(包包)的开发模式。同学要像更快的上手DX,就一定要掌握 Package Development Model 。

今天为各位开始学DX的同学带来的就是Trailhead 中
Package Development Model 这个module 的导读。希望能帮助大家快速掌握这一DX的核心概念。

想下新的真理之源 Imagine a New Source of Truth

包开发的好处:

  • Improving team development and collaboration.
  • Modular development process with specification of dependencies among packages.
  • Versioning to help with change management
  • Facilitating automated testing and continuous integration.
  • Making the release cycle more efficient and agile.
  • Improved version control system (VCS) synchronization through change-tracking of Setup features
  • More fine-grained visibility and clarity into the change management of your production org

这章主要需要理解包开发是如果提供灵活性的,相对于原来的基于Org的开发模式。

使用集成工具提高效率 Increase Productivity with Integrated Tools

介绍了 CLI, VS Code , VCS, Scratch Org
Scratch Org 的做用:

  • Start a new project.
  • Start a new feature branch.
  • Test a new feature.
  • Start automated testing.
  • Perform development tasks directly in an org.
  • Start from “scratch” with a fresh new org.

了解代码驱动开发 Understand Source-Driven Development

Your source is organized into packages based on a group of features or customizations you want to deliver together. The Salesforce DX project reflects this package-based approach to organizing your source.

这节主要围绕 Scratch 对代码驱动开发的一些流程做了介绍。一定不要错过。

学习如果测试,构建,发布DX项目 Learn How to Test, Build, and Release with Salesforce DX

应用部署

主要围绕这张图在讲。

计划移动到包开发 Plan Your Move to Packages

对把已有项目迁移到包开发模式提出了相关建议。仅供参考。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容