O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating DataSnap Apache modules

One of the most awaited Delphi features by server-side Delphi developers is the support for the building of Apache webserver modules. Since Delphi XE6, Delphi can generate Apache modules, and this is very good news! The most recent Apache versions are supported: 2.0, 2.2, and 2.4. An Apache module is compatible only with the specific version for which has been compiled. So be sure about the Apache version you have to deploy your module before you create the project. However, it's possible to change the target Apache version by just changing a unit name.

Getting ready

In this recipe, we'll create a very simple REST service, with only one method returning a list of people. The service will be built using the Embarcadero ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required