David Schwartz 426 Posted June 23, 2023 Someone asked me recently if there are any REST frameworks for Delphi that run on Linux? I know TMS XData doesn't (yet). Are there any that do? Share this post Link to post
Uwe Raabe 2057 Posted June 23, 2023 What is your definition of a "REST framework"? 2 Share this post Link to post
Uwe Raabe 2057 Posted June 23, 2023 (edited) Well, at least RADServer is available for Linux. Edited June 23, 2023 by Uwe Raabe Share this post Link to post
mvanrijnen 123 Posted June 23, 2023 MARS is also (according to: MARS-Curiosity REST Library - Delphi-PRAXiS [en] (delphipraxis.net)) compatible with linux, it seems to work on all Delphi targets so. Share this post Link to post
Fr0sT.Brutal 900 Posted June 23, 2023 Check out the list in my signature 1 1 Share this post Link to post
Mohammed Nasman 11 Posted June 23, 2023 Delphi MVC Framework. services can be compiled as console application, Windows Service, Linux daemon, Apache module (Windows and Linux) and IIS ISAPI (Windows). Share this post Link to post
Wagner Landgraf 43 Posted June 24, 2023 On 6/23/2023 at 6:16 AM, David Schwartz said: know TMS XData doesn't (yet). The point of the topic is moot, as you’re wrong. TMS XData does support Linux. 1 Share this post Link to post
David Schwartz 426 Posted June 25, 2023 16 hours ago, Wagner Landgraf said: The point of the topic is moot, as you’re wrong. TMS XData does support Linux. TBH, I was talking with someone who asked if there are other REST libs I could use to build my service to run in Linux, and I really only know of a couple, which is why I asked. (from the TMS XData product page) Quote Based on TMS Sparkle HTTP/HTPS server architecture, which provides: HTTP(s) server based on Windows http.sys stack However, I got Holger's latest book and I see that it does talk about how to get around the Sparkle dependency on Windows and show how to deploy XData on Linux. Sorry, I can't edit the original post at this point. Share this post Link to post
David Schwartz 426 Posted June 25, 2023 On 6/23/2023 at 5:51 AM, Fr0sT.Brutal said: Check out the list in my signature That's quite a list! Share this post Link to post
Wagner Landgraf 43 Posted June 25, 2023 10 hours ago, David Schwartz said: how to get around the Sparkle dependency on Windows That is not a "workaround" nor it's a "Sparkle dependency on Windows". Sparkle offers multiple ways to create an HTTP server, using different frameworks/APIs: Indy, Web Broker, http.sys... Of course, http.sys is a Windows kernel/API, so obviously it will only work on Windows. So if you want to create an HTTP server on Linux, you can't use http.sys, neither with XData nor any other framework in the known universe. Share this post Link to post
David Schwartz 426 Posted June 26, 2023 16 hours ago, Wagner Landgraf said: That is not a "workaround" nor it's a "Sparkle dependency on Windows". Sparkle offers multiple ways to create an HTTP server, using different frameworks/APIs: Indy, Web Broker, http.sys... Of course, http.sys is a Windows kernel/API, so obviously it will only work on Windows. So if you want to create an HTTP server on Linux, you can't use http.sys, neither with XData nor any other framework in the known universe. Well, however you want to describe it, my only real concern is that it's now possible to target services for linux hosts now. That's a Good Thing. 🙂 Share this post Link to post