Building a RESTFul server for Linux
It is time to understand how to develop a RESTful server for the most widespread OS for server-side. This is what I will show you in this recipe.
Getting ready
This recipe uses DMVC, a Delphi open source framework based on WebBroker that allows you to create powerful RESTful web services. You can find the project code here:https://github.com/danieleteti/delphimvcframework.
Version 3.0.0 of DMVC has brought several innovations, and a very useful one is that it is not necessary to download the Git repository to use it. Just download the latest version (https://github.com/danieleteti/delphimvcframework/releases) as a .zip
file and you'll be okay.
Once you have downloaded the zip file, unzip the file and put it in a folder of your filesystem. Next, you have to configure your IDE to find the DMVC units:
Navigate toTools
| Options
| Environment Options
| Delphi Options
| Library
Then, click the …
on the Library Path
edit, and add the following paths one by one (change...