Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

OData (Open data Protocol) [can not be applied, but cannot be understood]

Shulou Source: shulou.com Published: 2022-06-03 03:41:18 11月15日 Update

The ancients said that they are knowledgeable and knowledgeable, and if they have heard of it, they will be happy.

Open data Protocol (Open Data Protocol, referred to as OData) is an oasis standard that describes how to create and access Restful services.

1. What are the components of the agreement?

A: ① core protocol: it mainly defines the core semantics and behavior of open data protocols.

② URL specification: the URL specification mainly defines a series of recommended (non-mandatory) rules for building URL for accessing data and models in OData services

③ Universal format definition language (CSDL): the data model of OData services is defined by EDM (entity data Model). The Universal format definition language (Common Schema Definition Language (CSDL)) defines a XML representation of the EDM model of OData services.

④ extended Bakos normal form (ABNF): ABNF defines the Bakos normal form for building OData request and response URL.

OData is a protocol standard, we only need to produce components according to this protocol or standard, then this component can easily integrate and cooperate with other components.

2. What is restful?

A:

[restful] is a web application design style and development style, based on http, can be defined in xml format or Json format.

[restful] is suitable for scenarios where mobile Internet vendors use interfaces as business interfaces. Realize the function of third-party ott to call mobile Internet resources, and the action type is to add, delete and modify the called resources.

3. What is the relationship between oData and restful?

A: now we know that restful is an application protocol for front-end and back-end interaction, and oData is a way of restful implementation.

Tags: Data formats models services standards components applications openness Internet ways cores paradigms languages resources Bakos Barco interconnection mobile erudite hearing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB vpn OPPO Reno Shulou Information