#1 2015-03-02 13:53:16

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

DDD Sample

Hi Arnaud, is it possible that you provide an example for the DDD features ?
Cause it is very abstract it is not easy to see the usefullness of this.


Rad Studio 12.1 Santorini

Offline

#2 2015-03-02 16:33:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: DDD Sample

I'm working on it.

In fact, the DDD features are evolving a lot those last weeks.
I'm using those units to initiate a whole new complex software, for a customer, to be hosted in a cloud-like solution, following the MicroServices kind of SOA implementation.

So I won't write the documentation, nor publish any sample, before the DDD API is somewhat stabilized...
There are some exciting features:
- Persistence of DDD entitites with a CQRS pattern, and automatic mapping to the RESTful ORM - i.e. you can persist any TPersistent class, with complex nested objects, not only TSQLRecord - in fact this feature is quite unique, since the aggregate ID is hidden from the domain layer, by a set of generic CQRS persistence services, using dual-phase commit;
- Abstract parent classes for DDD Application Layer services, and DDD Domain Daemons (with automatic multithreading);
- Automatic statistic gathering and computation;
- Callback events, including catalogs and event sourcing.
Stay tuned!

Offline

#3 2016-11-06 12:02:42

camu72
Member
From: Salta - Argentina
Registered: 2015-07-12
Posts: 27

Re: DDD Sample

Hi Arnuad. I'm starting work in a complete migration of my obsolete erp and I like do it in a DDD direction. Do you have intentions of release the sample?  I think that Will be like a very important start point for all  the interest...
I was use  your library for the last year and have a lot of enhance but still I don't make the big step.
Congratulation for this framework. It's very powerful.
Sorry for my inglish... I'm just a reader of this language.

Offline

#4 2016-11-07 10:47:35

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: DDD Sample

I started the sample, but was not able to finish it...
Sorry...
I'll try to go back to it and publish something ASAP.

Thanks for your interest!

Offline

#5 2016-11-07 15:50:29

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: DDD Sample

Hi Arnaud,

I'm also interested in the DDD examples. Will it lead to "class explosion" issue, since as I understand it, each record will not have an extra wrapping class?


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#6 2016-11-07 16:24:04

Junior/RO
Member
Registered: 2011-05-13
Posts: 207

Re: DDD Sample

I am very interessed in a DDD example with a desktop mORMot client

Offline

#7 2016-11-17 18:49:32

uian2000
Member
Registered: 2014-05-06
Posts: 68

Re: DDD Sample

DDD has too many idea to follow, Rest/Aggregate/EventSourcing/etc
I do learn good stuff in mORMot lib/framework, and I've make a little testcase like DDDPersistence, but far more things are disordered in my mind.
I don't know when to make a Service, or share whitch model between server and client and ....

I mean, mORMot is powerful but complicated, a clean uncoupled architecture example of DDD is appreciated.

Offline

#8 2017-08-26 15:08:21

mhmda
Member
Registered: 2017-03-01
Posts: 19

Re: DDD Sample

We all waiting for the DDD example.

Offline

Board footer

Powered by FluxBB