#1 2025-12-23 17:11:15

Javierus
Member
Registered: 2019-09-18
Posts: 77

More mORMot2 examples: adapted from DMVCframework

I've adapted more than 40 examples from the DMVCframework to mORMot2

The intention is:
1. Have more examples for mORMot2
2. Help DMVCframework users transition to mORMot2

I've posted them in my own public GitHub, but I would be very glad if Arnaud is willing to add them to mORMot2 samples

https://github.com/JavierusTk/dmvc

Offline

#2 2025-12-23 18:57:51

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,350
Website

Re: More mORMot2 examples: adapted from DMVCframework

Sounds amazing!

Perhaps we could add them as git sub-modules?
By default, no sub-module would be loaded, but if --recurse-submodules is defined, then all third party samples would be included?

But sub-modules could be confusing, and samples are mostly for beginners, so they may expect to have as many sample as possible to find their way into the code...
My other concern is that if it is part of the main repository, they would need to be maintained somewhat. And it is already not so easy to maintain our third-party samples...

Or we could just add them to the third party folder of the mormot 2 repository? Perhaps if there are a lot of sample there, everyone would understand that they are not at the same level of maintainability?

Worth a common discussion...

Offline

#3 Yesterday 03:25:53

zen010101
Member
Registered: 2024-06-15
Posts: 161

Re: More mORMot2 examples: adapted from DMVCframework

Wow, there are so many demo programs! It feels like their number has even exceeded the examples that come with mORMot itself! I don't think anyone would dislike more examples, heh heh.

Personally, I still prefer the ThirdParty solution. Just like it is now, it can greatly reduce everyone's cost of obtaining examples.

Offline

#4 Yesterday 10:18:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,350
Website

Re: More mORMot2 examples: adapted from DMVCframework

OK.
I have included the samples as https://github.com/synopse/mORMot2/commit/13fe46e06
into https://github.com/synopse/mORMot2/tree … os/dmvc-ai
(I trimmed some *.rsm files from the original repository)

Now users won't complain about the lack of samples!
Thanks a lot for sharing.
All this AI-generated stuff is very interesting.

Offline

Board footer

Powered by FluxBB