You are not logged in.
Pages: 1
Hello all,
I am bit of a newbie to the mORMot framework.
The code is impressive, it compiles under my old Delphi (6) version, but perhaps I just can't see the forest for trees..
Is there such a thing as sample applications for the synopse code ? Example: syncrypt. Just to demonstrate how to do things on a simple level.
I can find plenty of documentation and reference to each function. But the learning curve is really steep.
Offline
general samples: https://github.com/synopse/mORMot/tree/ … e3/Samples
Re. example usage for SynCrypto, check function Cypher in <mORMot>\SQLite3\Samples\MainDemo\FileEdit.pas
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Also take a look at the regression tests - Sqlite3\TestSQL3.dpr.
It contains a lot of unit tests, for all units.
Not always easy to follow (handling the border cases is somewhat cumbersome), but at least you have at hand some working code.
Offline
Don't be afraid, once you pass the initial learning stage, the gaining will be BIG
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Also make sure to download the documentation as PDF so that you can jump to topics using bookmarks, it made it so much easier for me and still does today when I need to lookup something.
Offline
Pages: 1