Creating Secure and Manageable Database-driven Web Services with TMS XData and Delphi
As of today, this new course is available for those who are interested.
The course will also have a RAD purchase option which will give you 20% off! Click on the link below or use the coupon code RADPURCHASE.
- configurable database connectivity,
- server parameters in a resource file,
- a modern UI with tray icon,
- switching to deployment as a Windows service,
- access control using JSON Web Token (JWT)
The course is grouped into the following sections:
Detailed introduction to the course. Some videos are free to watch before purchase which will allow you to determine if this course hits “all the marks” for you.
I will start by giving an overview of all the course topics, describe the example scenarios, but will also motivate this course by giving examples for real-world Web services. Finally, we will prepare the development environment installing all the products and learning about TMS project wizards.
Create a new TMS XData project
Jump right into the development of a Web service with Delphi!
- You will learn how to create a new server and its associated project structure,
- get a glimpse at using version control, and
- where to download the source code of this course
The section will close with a detailed look at the different components of an XData server and how to set up Windows to host a server.
Updating the server container
The server container is the core part of an XData server and will be discussed in detail. In particular, we will introduce the Singleton pattern to facilitate its accessibility in the server application.
Adding services to the server
Services are the means how you can add functionality to your Web services. An XData server can hold as many services as you design. In this section, you will implement your first service and its endpoints. Lots of examples will be given. Focus will be how to look at the data that is returned, how the data is formatted, how you define the data that is returned, and how you can easily browse your XData server using SwaggerUI.
Adding database connectivity
Using databases with Web services is an essential part of this course. Learn how to connect a FireDAC database to the XData project and offer flexible connection parameters using a configuration file. The course will explain usage of FireDAC in a multi-threading environment in detail using FDManager and connection pooling.
Breathe! This section will give a summary of what has been covered so far and will test a few of the things that have been implemented.
Using resource files and UI design
After covering the basics, you will build the core parts of your server template starting with the server configuration that is stored in resource files. The user interface will also be updated to make it easily accessible for administrators.
Running as Windows service
The XData project will be migrated to a hybrid template that allows you to compile your project either as a VCL desktop application or a Windows service. This will make deployment to server machines very comfortable.
Access Control with JWT
The final part of the template will add access control using JWT to the template. All your Web service operations can thus be protected to be only accessible by authorized users.
Another review of the course content.
The example scenario
All future sections build an example step-by-step based on the template. You will implement a real, working example using all the things learned in the previous sections – and more.
Dr. Holger Flick
- Holger studied computer science at the University of Dortmund and received his doctorate from the Faculty of Mechanical Engineering at the Ruhr-University in Bochum.
- He has been programming with Delphi since 1996 & has always been active in the community.
- Holger has also presented at conferences & seminars on various Delphi topics.
- He is an Embarcadero Delphi MVP.
- Since 2017, he presents products & solutions of TMS Software as Chief Evangelist in form of numerous technical articles, bilingual video tutorials, and leads through seminars.
- In 2019, he founded FlixEngineering LLC in the United States of America.