xtool/contrib/mORMot/SQLite3/Samples/35 - Practical DDD/02
Razor12911 098e8c48de source upload 2022-01-17 22:16:47 +02:00
..
dom source upload 2022-01-17 22:16:47 +02:00
infra source upload 2022-01-17 22:16:47 +02:00
serv source upload 2022-01-17 22:16:47 +02:00
test source upload 2022-01-17 22:16:47 +02:00
ReadMe.md source upload 2022-01-17 22:16:47 +02:00

ReadMe.md

Practical Domain Driven Design

Welcome to the Progressive samples folders!

In the sub-folders, we will write a almost-complete DDD sample, using TDD. Folders are enumerated to follow the iterations on the project: 01, 02, 03...

Since it was started during EKON 21 conferences, it will modelize a conference booking system.

Don't forget to check out the associated Slides from https://synopse.info/files/ekon21

01 Iteration

Contains the core units, following the "Clean Architecture" patterns.

Implements

  • TestAll.dpr to run the regression tests;
  • ServBook.dpr to run a Booking service, using the Conference Domain objects.

02 Iteration

We added some Domain objects, and a basic booking service. This has been implemented via the participation of all attendees to the EKON 21 Conference, just after the slides. Nice first attempt, even it may be really mind-breaking from a classical DB-centric approach! ;)

Introduces a Repository dependency contract, which will be implemented in the test with a TSynStub, to let the test pass.