#1 2016-07-28 20:48:39

triguinhu
Member
From: Brazil
Registered: 2016-07-28
Posts: 27

Best way to use Mormot bypass the ORM (new n-tier Delphi aplication)

Hi,

I use Delphi Berlin 10.1 and SGBDs like Firebird or PostGreSQL

"State of the art" is the focus of this new project, best performance and multi clients (Desktop, WEB, FMX, ... )

Server tier in a Cloud and maybe database "tier" in a Cloud too

This project is a ERP Based solution

We don´t use ORM by personal issues

Can somebody help us and clear the way?

Thank´s

Rodrigo (Sorry by English, I´m Brazilian)

Offline

#2 2016-07-29 06:58:55

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

Re: Best way to use Mormot bypass the ORM (new n-tier Delphi aplication)

Switch to a SOA design.
Exposing all your process using mORMot interface-based services.
Defining DTO objects/records for transmission, and leaving your business objects on the server side.

It is worth taking a look at the framework documentation.
See the FAQ at http://synopse.info/files/html/Synopse% … l#TITL_123

Offline

#3 2016-08-08 00:26:47

xchinjo
Member
From: Thailand
Registered: 2016-04-29
Posts: 41
Website

Re: Best way to use Mormot bypass the ORM (new n-tier Delphi aplication)

ab wrote:

Switch to a SOA design.
Exposing all your process using mORMot interface-based services.
Defining DTO objects/records for transmission, and leaving your business objects on the server side.

It is worth taking a look at the framework documentation.
See the FAQ at http://synopse.info/files/html/Synopse% … l#TITL_123


Do you have a great example  CRUD with SOA ?
thank you.


Jongruk Aripoo

Offline

#4 2016-08-08 11:40:20

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

Re: Best way to use Mormot bypass the ORM (new n-tier Delphi aplication)

Google for 'persistence ignorance'.

And a persistence service using SOA and CQRS is defined in the mORMot docs.

Offline

Board footer

Powered by FluxBB