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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.