#1 Re: mORMot 1 » Firebird direct Access » 2017-03-22 18:21:57

Client need to query data from FB , clients are notre connecter tout FB directly, so they sends query to main server. Main server is a server that serves many things , it is not connected to FB but sends request to db server that connect to FB and do thé works. Please any suggestion for the architecture and witch kind of server to use ( http , JSON etc ...)
Regards.

#2 mORMot 1 » Firebird direct Access » 2017-03-22 12:26:22

Fayçal
Replies: 4

Hi ,

This my first post in the forum and i'm new with ORM and specialy with mORMot.

i search for a solution that i think mORMot is able to do it.

Client application ----------> Main Server -------------> db server ---------------------> Firebird

The "MainServer"  have requests from "clients" to post or returns a query result, the "Main server" should ask the "db Server" to make such request ( because "Main server" is make for sql query and other processing), "db Server" connect to database and execute query or return result to "Main server" the should return result to the client.

"Main Server" ,  "db Server" and Database( firebird) may not be on the same PC.


Please, what is the simplest way to implement such solution with  HTTP , JSON,  ORM  and RESTFUL approche.


Best Reagrds

Board footer

Powered by FluxBB