The ToDo list in RAD Server
Let’s now move to the implementation of a ToDo
list server based on the architecture of the previous chapters, rather than directly exposing the database. Notice that there is nothing wrong with the approach we used in the previous section, but it’s good to get a bit deeper to better understand how RAD Server works:
- Let’s start by creating a proper folder structure for our projects. Create a new folder for RAD Server ToDo resource and client projects. Inside this folder, create three sub-folders:
resource
,client
, andshared
. - Now, run the RAD Server wizard again. On the second page of the wizard, this time we can just pick a unit and use the resource name
todo
. - On the third page, this time we want to pick the endpoints of the wizard (see Figure 13.8, again). Select Sample EndPoints and all five sub-elements These endpoints will translate to different HTTP request types and URLs. We want all of them because there are five...