• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ddd-edm-online-course/ddd-edm-course-materials: Course Materials for Domain-Driv ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ddd-edm-online-course/ddd-edm-course-materials

开源软件地址(OpenSource Url):

https://github.com/ddd-edm-online-course/ddd-edm-course-materials

开源编程语言(OpenSource Language):


开源软件介绍(OpenSource Introduction):

Materials for Domain-Driven Design and Event-Driven Microservices Online Course

This class will be offered via O’Reilly’s Live Online Training Platform on a semi-monthly basis. Watch the link for scheduled offerings!

Syllabus

New architectural paradigms like microservices and evolutionary architecture, as well as the challenges associated with managing data and transactional contexts in distributed systems, have generated a renewed interest in disciplined software design and modular decomposition strategies. We know that the secret to obtaining the benefits of these architectures is getting the boundaries right, both at the team and the component/service level, and then keeping them right as the software continues to evolve! A key reason for getting the boundaries right is that it allows us to create a unified and ubiquitous language within the bounded contexts those boundaries enclose, allowing the business and engineers to have productive and coherent conversations.

Fortunately, there is a mature, battle-tested approach to domain modeling and system decomposition that is a perfect compliment to these architectures: Domain-Driven Design (DDD). In this course, we’ll leverage an exemplar business domain, that of a pizza delivery store, to illustrate DDD-based decomposition strategies, data architecture patterns, and implementations.

Prerequisites and Helpful Background:

Setup Instructions:

Foundational Requirements

Your computer should be set up with the following capabilities:

  • Java 11

  • Maven (recent)

  • Git

  • The IDE/editor you are most comfortable using (make sure you have the Lombok plugin installed! Instructions for Eclipse and IntelliJ are linked).

Free SaaS accounts (optional):

  • It will be helpful to have a (free) Miro account. Alternatively, keep handy a presentation or diagramming tool that you are comfortable using.

  • Set up a (free) account with GitHub.

(Optional) Setup Path for Enhanced Feedback

The exercises for this course will be enhanced and will provide personalized, real-time feedback if you have a (free) account with GitHub. We will use GitHub Classroom to generate a private repository for each participant, and it will use GitHub Actions to automatically run tests against code exercises submitted to each repository. The instructor will be able to see your code submissions, but no one else.

A GitHub account is optional, but strongly recommended for the best experience.

  1. Each class offering has a unique GitHub Classroom invitation link. The link for the July 2022 offering is: 2022-07-26-oreilly-online-trng. Click on it.

  2. You will be asked to authorize GitHub Classroom to access data from your GitHub account. You will have to accept to continue. If you are not comfortable with this authorization, please continue to the Setup Path for Basic Participation.

    authorize
  3. Next you need to accept the assignment for this course, which will trigger the creation of your private repo.

    accept assignment
  4. Creating your repo and copying over the lab environment will take a moment. You’ll likely see a notification screen similar to this one. Refresh the page to see progress:

    progress
  5. Once your repository is complete, you can click on the link to visit it:

    ready to go
  6. Copy the clone URL for your repo and clone it to your machine using git clone <REPO URL>.

    clone

At this point, you’ll want to pick up with the instructions found in the README of your private clone of the lab environment!

Setup Path for Basic Participation

Without a GitHub account, you can still download the course materials manually, as a ZIP file; you just will not receive personalized feedback on the exercises.

Schedule:

Day One:

Class Introduction (10 minutes)

  • Intro to the Course

  • Intro to the Instructor

  • Class Logistics

  • Class Outline

Lecture: Why do we need DDD? (15 minutes)

Open Q&A and Class Discussion: Why DDD / Ubiquitous Language (10 minutes)

Break (10 minutes)

Open Q&A and Class Discussion: Strategic Design (10 minutes)

Open Q&A and Class Discussion: Tactical Design (10 minutes)

Lecture: Overview of Event Storming (15 minutes)

Break (10 minutes)

Open Q&A and Class Discussion: Event Storming and Pizza Shop Domain (10 minutes)

Student Activity: Pizza Shop Event Storming exercise (20 minutes)

Interactive Screen Share: Pizza Shop Event Storming solution (15 minutes)

Open Q&A and Class Discussion: Day One AMA (10 minutes)

Day Two:

Day One Recap (10 minutes)

Lecture: DDD and Technical Architectures (25 minutes)

Break (10 minutes)

Interactive Screen Share: Overview of the Pizza Shop Coding Exercise Environment (10 minutes)

Student Activity: Lab 1: TDD Aggregate Root - Create Kitchen Commands with Business Logic and Invariants (10 minutes)

Interactive Screen Share: Lab 1 Solution (15 minutes)

Student Activity: Lab 2: TDD Aggregate Root - Create and Publish Kitchen Domain Events (10 minutes)

Interactive Screen Share: Lab 2 Solution (15 minutes)

Student Activity: Lab 3: TDD Aggregate Repository - Create Kitchen Repositories and Add Domain Events (10 minutes)

Interactive Screen Share: Lab 3 Solution (15 minutes)

Student Activity: Lab 4: TDD Aggregate Repository - Rehydrate Kitchen Aggregates by Reference (10 minutes)

Interactive Screen Share: Lab 4 Solution (15 minutes)

Student Activity: Lab 5: TDD Application Service - Expose Kitchen Business Interface and Implement Transactions (10 minutes)

Interactive Screen Share: Lab 5 Solution (15 minutes)

Student Activity: Lab 6: TDD Policy - Subscribe to a Kitchen Domain Event from within an Aggregate and Create CQRS View (10 minutes)

Interactive Screen Share: Lab 6 Solution (15 minutes)

Student Activity: Lab 7: TDD Policy - Subscribe to a Kitchen Domain Event from an Adjacent Aggregate and Update State (10 minutes)

Interactive Screen Share: Lab 7 Solution (15 minutes)

Open Q&A and Class Discussion: Day Two AMA (10 minutes)




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap