ekon20 mormot workshop delphi
TRANSCRIPT
Ride a mORMot
• Open Source
• Setup
• From SQL to ORM/ODM
• From Interfaces to SOLID
• From RAD to MVC
Ride a mORMot
• Setup
– Which version to use?
Use the Unstable / Trunk
Currently 1.18.3177
So-called « stable » 1.17
is clearly outdated
Ride a mORMot
• Setup
– Delphi 6 up to Berlin 10.1
(any edition)
– Download from
http://synopse.info
http://github.com/synopse/mORMot
– Optional
http://sourceforge.net/projects/fastmm
http://www.sourceforge.net/projects/zeoslib
Ride a mORMot
• Setup
– FPC 3.x trunk
or http://newpascal.org fork (includes RTTI)
– Download from
http://synopse.info
http://github.com/synopse/mORMot
http://synopse.info/files/sqlite3fpc.7z
Ride a mORMot
• Setup
– Unzip in a folder (including nested sub-folders)
e.g. D:\dev\lib
– No component to install (pure source code project)
– Add paths to your IDE D:\Dev\Lib;D:\Dev\Lib\SQLite3
Ride a mORMot
• Setup
– Unzip in a folder (including nested sub-folders)
e.g. D:\dev\lib
– No component to install (pure source code project)
– Add paths to your IDE D:\Dev\Lib;D:\Dev\Lib\SQLite3 … and others if needed (see doc)
Ride a mORMot
• Setup – As https://github.com/Memnarch/Delphinus package
• Retrieve source directly from GitHub
and set the appropriate paths
Ride a mORMot
• Setup
– Open and run D:\Dev\Lib\SQlite3\TestSQL3.dpr
(and/or at least once TestSQL3Register.dpr with
administrator rights, to register http.sys uri)
Will compile and execute all regression tests
Ride a mORMot
• Resources
– http://synopse.info
– http://synopse.info/forum
– http://blog.synopse.info
– http://github.com/synopse/mORMot
Includes exhaustive documentation,
samples and regression tests.