Questions tagged [mormot]

Synopse mORMot is an Open Source Client-Server ORM SOA MVC framework for Delphi 6 up to Delphi 10 Seattle and FPC, targeting Windows/Linux for servers, and any platform for clients (including mobile or AJAX).

More info: https://github.com/synopse/mORMot

24 questions
0
votes
1 answer

Change Variant property-names (Delphi)

I'm learning a great framework mORMot for Delphi, and I found plenty of useful functions to handle with Variant (in SynCommons). Now I want to change some property-names of a Variant, but after a search I have not found such a function, so I decide…
DDGG
  • 871
  • 5
  • 17
0
votes
1 answer

Conditional rendering with dmustache

I'm using dmustache (https://github.com/synopse/dmustache) to render some templates. I wonder how one could not render a certain part if the string-variable is an empty string. This simplified program renders FirstName: Joe MiddleName: LastName:…
Sebastian Proske
  • 7,985
  • 2
  • 26
  • 36
0
votes
1 answer

http.sys and winhttp.dll have SSL/TLS "session resumption" and "false start"?

I have an application written in Delphi which attaches client-side winhttp.dll, on server side it uses mORMot (SOA/ORM client-server library which attaches "http.sys" for web server functionality). The next step will be also a web-client written in…
emk
  • 11
  • 1
  • 3
0
votes
2 answers

Firedac multiple pools of connections

I'm in process of upgrading our client-server ERP app to multi-tier. We want to offer our customers the possibility having their databases in cloud(hosted in our server).So, clients are written in Delphi, server is a http IOCP server written also in…
emk
  • 11
  • 1
  • 3
0
votes
1 answer

Configuration REST resources in mORMot

I want to configure pretty simple access to my REST resource, based on information (http://synopse.info/forum/viewtopic.php?id=1833) regarding REST routing in mORMot. I need to call url as localhost/api/apservice/station/1, but code below works only…
SpanishBoy
  • 1,797
  • 4
  • 21
  • 43
0
votes
1 answer

Can't correctly setup SQL Server connection in mORMot

I try to setup connection to SQL Server and catch the error var GFireDACConnProp : TSQLDBFireDACConnectionProperties; GFFireDACConn: TSQLDBFireDACConnection; begin try GFireDACConnProp :=…
SpanishBoy
  • 1,797
  • 4
  • 21
  • 43
0
votes
1 answer

Delphi mORMot No connection could be made because the target machine actively refused it

I test mORMot component. I compiled standart demo "28 - Simple RESTful ORM Server" Run it and get an eror. Code: var aModel: TSQLModel; aProps: TSQLDBConnectionProperties; aRestServer: TSQLRestServerDB; aHttpServer: TSQLHttpServer; begin //…
Andy Birtman
  • 147
  • 1
  • 9
0
votes
1 answer

use Unigui with mORMot

I have tested Unigui, as Web Server,and i have used Mormot as DB Server I found this two framework amazing, My Question : is there possibility to use Unigui to have beautiful Ajax Browser and mORMot as DB Server Cans I merge Unigui and mORMot in…
kamel CHIKH
  • 21
  • 1
  • 4
-3
votes
2 answers

In term of performance is mormot rest connection is better than Oracle direct connection?

I work in a company on a huge application made with Delphi 10 Seattle (VCL), using direct connection to Oracle database server (2-tier). One of the experts proposed to migrate to the 3-tier architecture using mormot (or another…
1
2