#1 2022-06-07 12:52:12

squirrel
Member
Registered: 2015-08-13
Posts: 119

mORMot 2 Release

Hi @ab
In your blog post about mORMot 2 performance, you mention that "The official release of mORMot 2 is around the edge".  We are very curious (and excited) for that day.  Is there a specific date or feature parity that must be reached or are we getting close? big_smile

Offline

#2 2022-06-07 15:58:54

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,170
Website

Re: mORMot 2 Release

I suspect we could release it before July.
It is already used on production in several projects.

The only missing "feature" are perhaps more samples.

Question to mORMot users: what do you think?

Offline

#3 2022-06-08 04:55:18

sakura
Member
Registered: 2018-02-21
Posts: 176

Re: mORMot 2 Release

I am not using it on production yet, simply because our product is way away from alpha release. However, in day to day development use and testing, it's running flawless.

However, no haevy duty tests yet, no massive connections, etc. So I should not be taken seriously, when I say: go ahead ;-)

--Daniel

Offline

#4 2022-06-08 06:16:50

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

Re: mORMot 2 Release

Re. examples, I just pulled the latest source and found "\ex\ThirdPartyDemos\martin-doyle", I guess those samples done by Martin Doyle can already get me started.

That being said, based on your statement it seems that mORMot2 is stable for my use cases, so I might start using it instead of v1 for a new project.


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

Offline

#5 2022-06-08 06:18:26

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

Re: mORMot 2 Release

Maybe an "Upgrade notes for mORMot 1 users" blog post is enough to get us start upgrading wink


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

Offline

#6 2022-06-08 07:13:15

AOG
Member
Registered: 2014-02-24
Posts: 488

Re: mORMot 2 Release

The ddd folder is still empty ... ;-)

Offline

#7 2022-06-08 07:47:28

pvn0
Member
From: Slovenia
Registered: 2018-02-12
Posts: 202

Re: mORMot 2 Release

I'm in same boat as sakura, basically I've switched to mORMot 2 during development but aren't using it in production yet because the project isn't there yet.

Offline

#8 2022-06-08 12:36:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,170
Website

Re: mORMot 2 Release

@AOG
Yes, the src/ddd folder is empty, and may stay as such for some time.
I don't think porting the mORMot 1 code here would be a good idea, because it is somewhat too complex.

See https://synopse.info/forum/viewtopic.php?id=5867
and the discussion about DDD and our KDD at https://blog.synopse.info/?post/2019/10 … e-and-Code

Offline

#9 2022-06-09 09:47:16

dcoun
Member
From: Crete, Greece
Registered: 2020-02-18
Posts: 176

Re: mORMot 2 Release

About mobile apps ?
expired JWT automatic re-creation?

Last edited by dcoun (2022-06-09 09:47:58)

Offline

#10 2022-06-09 17:24:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,170
Website

Re: mORMot 2 Release

It is to the client to renew the JWT.

Offline

#11 2022-06-09 17:45:50

trx
Member
Registered: 2015-08-30
Posts: 30

Re: mORMot 2 Release

I have several projects in production which use mORMot2. As with all new code, a few issues came up (in production of course smile ) occasionally but were fixed and things are running smoothly now.
The last one being a locking issue in TSynCache which was introduced when RW locks were added.
I was looking forward to RW locks for a long time, it is a great addition. Although this is an example of a feature which can add hard to detect bugs with unit tests, which got me thinking if mORMot2 could use some kind of branching/versioning/whatever strategy for stable and development/bleeding edge?

About DDD:
The projects were all upgraded from mORMot 1 from 6 months to a few months ago and they all used DDD units, it was pretty easy to port mORMot1's DDD units to mORMot2 though (at least the parts I was using relating to persistence, authentication and emails).

Last edited by trx (2022-06-09 18:00:27)

Online

#12 2022-06-09 20:56:17

AOG
Member
Registered: 2014-02-24
Posts: 488

Re: mORMot 2 Release

@trx
If you are willing to share your efforts, I would be very pleased.

Offline

#13 2022-06-10 06:41:20

trx
Member
Registered: 2015-08-30
Posts: 30

Re: mORMot 2 Release

@AOG
Sure, I have commited the relevant files here: https://github.com/transmogrifix/sx-ddd

But I would not use them for new mORMot2 projects and rather wait for whatever ab is planning DDD/KDD-wise.

Last edited by trx (2022-06-10 06:47:14)

Online

#14 2022-06-11 08:59:33

AOG
Member
Registered: 2014-02-24
Posts: 488

Re: mORMot 2 Release

Thank you very much for sharing !! Much appreciated. Will have a very close look.

Offline

Board footer

Powered by FluxBB