#1 2024-10-26 09:30:58

flydev
Member
From: France
Registered: 2020-11-27
Posts: 71
Website

new samples for mormot2, any rules?

@ab is there any rules to follow before making PRs about pushing some samples dedicated for mormot2?

I finished to write a vanilla js lib which support mormot custom auth scheme that will be available on github and i would like to provide samples projects about it.

I have other projects as well, like client/server websockets, an mvc dashboard, etc. I thought they might be useful to other developers.

Offline

#2 2024-10-28 08:37:39

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

Re: new samples for mormot2, any rules?

It sounds great!!

Offline

#3 2024-10-28 17:00:40

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

Re: new samples for mormot2, any rules?

I guess that if you put the samples in the ex/thirdpartydemos folder, in a sub-folder named by the writer, we could integrate them.

A README file would be great too, to explain what each sample is about.

Offline

#4 2024-10-28 20:41:18

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,570
Website

Re: new samples for mormot2, any rules?

Perhaps a good way is to put the third-party samples in your own repository and link to it in ex/README.md (many well-known projects do this, calling it a curated list, etc.). In this case, the owner of the third-party repository can change their samples at their own discretion, and the only PR for the mORMot repository is changes to ex/README.md

Offline

#5 2024-10-28 20:49:13

flydev
Member
From: France
Registered: 2020-11-27
Posts: 71
Website

Re: new samples for mormot2, any rules?

A README file would be great too, to explain what each sample is about

Sure, thanks.


I like the idea @mpv

Last edited by flydev (2024-10-28 20:51:08)

Offline

#6 2024-10-29 02:03:06

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

Re: new samples for mormot2, any rules?

@flydev, that sounds very interesting, couldn't wait to see what you has to offer!

I agree with MPV, if you have the plan to continually improve it, you might want to make it a standalone repo on github, so that even the others can make PRs.


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

Offline

Board footer

Powered by FluxBB