Getting started with a new framework should not be complicated.
Getting Started with XData is a practical, step-by-step introduction to building REST APIs with Delphi and TMS XData.
Starting with a simple Hello World service, you will gradually build a small but complete archery system. Along the way, you will learn how to create services and endpoints, work with JSON and more complex data structures, connect your API to a database, implement CRUD operations, and add authentication and authorisation.
You will then build a Delphi VCL client that communicates with the API, giving you experience with both sides of an XData application.
The book deliberately keeps the examples simple and focused. Rather than introducing production-level complexity too early, each chapter adds one concept at a time, allowing you to understand what XData is doing and why.
You will learn how
• Create your first XData REST API • Define services and endpoints • Work with Delphi objects and JSON • Connect XData services to a database using FireDAC • Implement CRUD operations • Add authentication and authorisation • Build a Delphi VCL client for your API • Understand object ownership and memory management • Take the database layer a step further with connection pooling
Whether you are exploring XData for the first time or want a practical introduction before using it in your own projects, Getting Started with XData will take you from your first endpoint to a working client-server application — one step at a time.