Building resources

RAD Server architecture has been elegantly designed. You can add custom REST API resources through Delphi package library files that are loaded to RAD Server at startup. The location of packages to be loaded is stored in the .ini configuration file:

RAD Server architecture

Earlier in this chapter, we used WebBroker architecture to expose CRUDL operations on the underlying To-Do data stored in the Amazon Simple Storage Service as custom REST APIs. Here we are going to implement a similar solution, but this time we are going to expose the same functionality using RAD Server.

Let's start by creating a proper folder structure ...

Get Expert Delphi now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.