#1 2020-05-05 16:01:13

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

mORMot2 libraries proposal

mORMot has many useful libraries merged, and I understand mORMot2 will try to somehow break them down in diferent units

I think that maybe some libraries get "finished" much earlier than others
Is it possible to have an updated list with the "finished" ones?

As an example, I believe JSON handling will get the finished status way earlier than others

Offline

#2 2020-05-05 19:50:42

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

Re: mORMot2 libraries proposal

Currently there is almost no regression tests, so nothing is usable.
I wanted to make a first pass to see how it goes before debugging and stabilizing it.

What is converted (but not tested):
1. SynCommons and SynTable (i.e. RTTI and low-level structures like TDynArray(Hashed) and TSynDictionary)
2. the JSON class serialization of mORMot.pas
3. core zip/deflate compression
4. core socket library
5. testing classes
6. logging and exception interception
7. crypto library
8. a lot of low-level OS specific calls

I think the general layout of the units in /src/* seems fine. I don't see anything to change.
All units are now < 10000 lines, and should remain as such (they are features-ready).
Low-level Delphi/FPC, Windows/POSIX, or asm/pascal code are clearly separated.

Please take a look at https://github.com/synopse/mORMot2
and check how the repository source code is written.
Any feedback is welcome!

Offline

Board footer

Powered by FluxBB