📜 ⬆️ ⬇️

OASIS standardizes the open OData protocol

odata

An open OData query protocol based on REST, Atom / XML and JSON will be standardized by the OASIS organization, which is responsible for approving industry standards for web services and data transfer.

OData is a protocol that allows you to select or modify data using the parameters of a regular query. For example, the following query:
')
_http: //services.odata.org/OData/OData.svc/Category (1) / Products? $ top = 2 & $ orderby = name

Requests to select from the data source the first two products sorted by name, which belong to a certain category of goods with the identifier "1". Another example:

_http: //services.odata.org/OData/OData.svc/ProductsByColor? color = 'red'

Allows you to use the internal function with the color parameter "red" to query the desired list of products. The protocol includes a huge number of parameters that allow you to specify an arbitrarily complex query to the data source, for example:

_http: //services.odata.org/Northwind/Northwind.svc/Customers? $ filter = indexof (CompanyName, 'lfreds') eq 1

Returns all customers with the name of the company that contains the substring "lfreds". And so on. A detailed description of the notations and the protocol itself can be found at http://www.odata.org/documentation .

Odata today


Today, the official OData website offers a mass of ready-made libraries for implementing access to data on different platforms and languages:

clip_image001

Standardization


OData protocol was developed for a long time by Microsoft and at first was called ADO.NET Data Services. The mechanism turned out to be so good that third-party companies offered to make the protocol separate from the .NET platform, and after forming the open OData specification, its implementation in .NET began to be called WCF Data Services.

Today, OData is used in mass products of Microsoft and third-party companies: Excel, SharePoint, SQL Server Reporting Services, Dynamics CRM, Windows Server and Windows Azure. You can learn more about the existing OData ecosystem on a separate page on the official website http://www.odata.org/ecosystem .

Last week, Citrix Systems, IBM, Microsoft, Progress Software, SAP AG and WSO2 jointly proposed to introduce the Odata protocol for standardization in OASIS in order to make it even more open and accessible in industrial applications. Following the link in the press release, you can read the opinions of these companies on the importance of OData.

All specifications and documentation for the OData protocol are available on the official website http://www.odata.org/ . Additional information on standardization can be found in this MSDN blog entry.

Source: https://habr.com/ru/post/144821/


All Articles