You are not logged in.
Pages: 1
The example entiled 'Simple RESTful ORM Server' included with 'mORMot' is a console application.
Would a 'real' ReSTful ORM server be a service instead (on a Windows server)?
Offline
No real need for that for examples, for real applications you are just few steps away from real Windows Service.
The most simplistic approach to show and test some functionality is to do console applications, which do not have GUI overhead.
Console application is the most "natural" way to code and test prototype which could be later "wrapped as real" Windows Service.
You can even leave them as that and run them from Windows scheduler...
Last edited by Leander007 (2014-11-20 20:45:39)
"Uncertainty in science: There no doubt exist natural laws, but once this fine reason of ours was corrupted, it corrupted everything.", Blaise Pascal
Offline
@Leander007
Yes, console + verbose log are the "natural" way to test server side.
But of course, it may be quite a shift / switch from RAD UI background.
First let it work as console.
Then publish it as service.
Here are the golden rules.
Offline
Thanks to both of you for your clear and consice answer. It is conforting to know that I am following the right path.
Offline
Pages: 1