#1 2019-05-10 05:47:32

myicq
Member
Registered: 2019-05-10
Posts: 1

Newbie - looking for samples ?

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

#2 2019-05-10 07:27:41

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

Re: Newbie - looking for samples ?

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

#3 2019-05-10 08:05:48

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

Re: Newbie - looking for samples ?

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

#4 2019-05-11 05:01:10

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

Re: Newbie - looking for samples ?

Don't be afraid, once you pass the initial learning stage, the gaining will be BIG smile


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

Offline

#5 2019-05-13 06:29:22

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

Re: Newbie - looking for samples ?

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

Board footer

Powered by FluxBB