How to do it...

The app is based on the Header/Footer with Navigation mobile template. In the first TTabItem object, there is a list of people. In the second TTabItem object, there is the selected person's details. Data is read from the REST services that are exposed by the PeopleManager.dproj server.

The client implements a simple CRUD operation and uses a subset of the server's services. The service used and the relative URL are mentioned in the following table (you can implement search functionality as an exercise):

HTTP verb

URL

Description

GET

/people

This returns a JSON array containing one JSON object for each record present in the PEOPLE table. In each object, the property name is the name of the field, while the property ...

Get Delphi Cookbook - Third Edition 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.