Delphi framework for multi-tier REST/JSON HTTP/HTTPS application server development and ORM remoting.

TMS XData can be simultaneously used on these frameworks:

TMS XData can be simultaneously used on these operating systems/browsers:

TMS XData can be simultaneously used on these IDE's:


Feature overview

  • Server based on REST/JSON architecture style
  • Easily accessible from different client platforms like .NET, Java, JavaScript, since it's REST/JSON based
  • Uses standard POST, GET, PUT and DELETE HTTP methods for data request and data modification operations
  • Partial update of objects (PATCH)
  • Full-featured query mechanism
  • Multi-Model design makes it easy to create multiple servers with different mapping, types and service operations
  • Service Operations allow adding custom business logic to your server using interfaces and methods
  • Well-defined JSON representation of resources including entities, associations, streams and proxies
  • Support for streams (blobs)
  • Several databases supported in back end: SQL Server, MySQL, PostgreSQL, Oracle, Firebird, etc.. (through TMS Aurelius)
  • Design based on standard OData protocol
Based on TMS Sparkle HTTP/HTPS server architecture, which provides:
  • HTTP(s) server based on Windows http.sys stack
  • Support for HTTP Secure (HTTPS)
  • Kernel-mode caching and kernel-mode request queuing (less overhead in context switching)
  • Multiple applications/process can share (respond) the same port (at different addresses)
  • Secure Sockets Layer (SSL) support in kernel-mode

Feature details

TMS XData is a full-featured Delphi framework that allows you to create HTTP/HTTPS servers that exposes TMS Aurelius objects through REST/JSON.

Example of an Aurelius class mapped:
  [Entity, Automapping]
  TCustomer = class
  strict private
    FId: integer;
    FName: string;
    FTitle: string;
    FBirthday: TDateTime;
    FCountry: TCountry;
    property Id: Integer read FId write FId;
    property Name: string read FName write FName;
    property Title: string read FTitle write FTitle;
    property Birthday: TDateTime read FDateTime write FDateTime;
    property Country: TCountry read FCountry write FCountry;
XData enables access via a simple HTTP GET:
GET /tms/xdata/Customer(3) HTTP/1.1
Host: server:2001
Example JSON representation of the customer object returned in the body of HTTP response:
  "$id": 1,
  "@xdata.type": "XData.Default.Customer",
  "Id": 3,
  "Name": "Maria Anders",
  "Title": "Sales Representative",
  "Birthday": "1980-05-20",
  "Country": null
Use a HTTP POST to create new objects, HTTP DELETE to remove objects, HTTP PUT or HTTP PATCH to update objects.

Example: Change the value of Title property of the customer resource:
PATCH /tms/xdata/Customer(1) HTTP/1.1
Host: server:2001
  "Title": "Marketing Manager" 
Easily perform queries on existing objects.

Example of retrieving customers with country name equal to "USA", ordered by customer's name:
GET /tms/xdata/Customer?$filter=Country/Name eq 'USA'&$orderby=Name&$top=10 HTTP/1.1
Host: server:2001
Server will return with a JSON array of objects containing all the filtered objects.

Query paging built-in to restrict the number of objects returned in each request.

Sample source Aurelius integrated full server-side logic using methods


BTW I am VERY happy with XDATA in a project I am developing at the moment. Great way to develop distributed applications.

Roland Kossow, via email

After trying some REST frameworks, my last choice is to use XData! It's really a great framework, very flexible and powerful! TMS Business is a subscription that every serious Delphi developer should have in his toolbox!

Piffer Claudio, via TMS forum

I'm really, really impressed with everything. And thanks for helping me with my newbie questions.
There is a lot of ground to cover when you start, but the possibilities are really mind boggling. I'm writing a blog system in WebCore, as a warming up for the rewrite of our webshop.
I'ts been a long time (I guess since delphi 1 and the first introduction of firemonkey) that I've been this excited. Feeling like a kid in a candy store right now!

Filip Demuynck, via email


What our customers say

When I purchased TMS All Access, it was with the aim of using the controls, Flexcel and TMS Web Core in the next stage of the current project, using the economics of purchasing the various products separately vs as one product-suite as part of that decision. But having access to the full product line-up and in the phase of "what did I get for my money?", I learnt about XData (which I will definitely be using for the web side of things) and Aurelius (which will save me hours in terms of development time, and will effectively pay for itself if one translates saved time to money).

- Roland Skinner

In the past I have purchased other components from other parties. I will say proudly that TMS is the best in support, price and style. Whenever I need a help your team is always there to help me. Keep up the good work

- Mohamed Thooloon

Hi Bruno Just want to drop you a line about how great your presentation was today. We often fail to point out to someone when they do a great job! You did a great job, you gave me a lot of ideas, and you answered my question very well. THANK you for your great products & super support.

- Lawrence Green

Thank you for developing components where I can best describe it like this: TMS components is a case where "The wheels fit the car, and NOT the car fit the wheels". Well done.

- Sathiparsad

As always your support is extraordinary and lightning fast.


Single developer license

license for 1 developer € 395

order now
add to cart

Small team license

license for 2 developers € 595

order now
add to cart

Site license

unlimited developers in the company € 1355

order now
add to cart

CreditCards and PayPal Accepted


    Delphi XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria (Professional/Enterprise/Architect)


Included In