You are not logged in.
Pages: 1
Hello,
With a mORMot powered web server (on linux), it is possible to achieve "hot code loading", instead of having to shutdown the program, update and restart again?
Thanks.
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
You mean "hot code loading" of browser scripts, like hot module replacement in webpack?
Last edited by mpv (2016-10-20 09:38:41)
Offline
Do you mean with MVC?
The mustache templates can be modified in-place, without the need to restart the daemon.
But the data context needs actual code recompilation, so it can't be done without a restart.
You may add a .so/.dll plugin system, but it is not part of the standard feature set yet - even if it is not so difficult to implement for a particular project, I guess.
Offline
No, I mean updating the web server itself (ie. The .exe file on Windows).
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Pages: 1