Что такое findslide.org?

FindSlide.org - это сайт презентаций, докладов, шаблонов в формате PowerPoint.


Для правообладателей

Обратная связь

Email: Нажмите что бы посмотреть 

Яндекс.Метрика

Презентация на тему Providing broad access to data with odata

Содержание

ARC202Providing Broad Access to Data with ODataDavid Chappell PrincipalChappell & Associates
ARC202Providing Broad Access to Data with ODataDavid Chappell PrincipalChappell & Associates AgendaDescribing OData: The BasicsExamining OData: A Closer Look at the Technology Describing OData: The Basics The Problem: Accessing Diverse DataMany kinds of data sources exist, such as:Custom A Solution: ODataThe Open Data Protocol (OData) addresses this problemIt lets diverse ODataData SourcesClientsWeb Browsers(Internet Explorer,Firefox, …)Mobile Phones (Android, iPhone, Windows Phone 7)Illustrating ODataBI Tools(Microsoft Excel,Tableau Desktop) OData Components (1)The OData data modelProvides a generic way to organize and OData Components (2)An OData serviceExposes an endpoint that allows access to dataUses Data SourceOData Components  An illustrationClient Accessing Data from Mobile Devices and Browsers An OData scenario Exposing Data from a Cloud Application An OData scenario Using Diverse Data Sources with BI Tools An OData scenario Examining OData: A Closer Look at the Technology The OData Data Model Entities and associations in the EDM The OData Data Model A closer look at the EDM The OData Protocol BasicsBased on HTTPExample verbs:POST: Creates a new entityGET: Reads The OData Protocol Illustrating Atom and AtomPub The OData Protocol Mapping between EDM and Atom/AtomPub The OData Protocol Serializing relational data in Atom/AtomPub The OData Protocol Getting an AtomPub service document The OData Protocol An example AtomPub service document…   Customers    Orders … The OData Protocol Getting an Atom feed documentOrderIDStatusCustIDCustIDNameAddressCustomersOrdersRelational DatabaseOData ServiceClient The OData Protocol An example Atom feed document (1) Orders The OData Protocol An example Atom feed document (2)   … The OData Protocol Some other optionsReturning the number of entries in a The OData Protocol Serializing data with JSONThe first request: http://GET www.fabrikam.com/exampleThe response: The OData Protocol Serializing data with JSONRequesting data:  GET http://www.fabrikam.com/example/Orders(5630)The response: The OData Protocol Issuing queries (1)The OData query language is expressed as The OData Protocol Issuing queries (2)Expressions:$orderby=: Orders results by the value of Implementing OData What Microsoft provides ConclusionOData provides broad support for accessing many kinds of dataIt includes:A general Feedback Dear attendees!Your feedback is appreciated!In notepad that can be found in Questions? Providing Broad Access to Data with OData, ARC202David ChappellPrincipal, Chappell & For Further ReadingIntroducing OData	http://www.davidchappell.com/writing/white_papers/Introducing_OData_v1.0--Chappell.pdf About the Speaker	David Chappell is Principal of Chappell & Associates (www.davidchappell.com) in
Слайды презентации

Слайд 2 ARC202
Providing Broad Access to Data with OData
David Chappell

ARC202Providing Broad Access to Data with ODataDavid Chappell PrincipalChappell & Associates


Principal
Chappell & Associates


Слайд 3 Agenda

Describing OData: The Basics

Examining OData: A Closer Look

AgendaDescribing OData: The BasicsExamining OData: A Closer Look at the Technology

at the Technology


Слайд 4 Describing OData: The Basics

Describing OData: The Basics

Слайд 5 The Problem: Accessing Diverse Data
Many kinds of data

The Problem: Accessing Diverse DataMany kinds of data sources exist, such

sources exist, such as:
Custom apps with relational storage
Cloud platforms

with relational storage, NOSQL storage, etc.
Content management systems with lists, etc.
Many kinds of clients can use data, such as:
Web browsers
Phone/tablet apps
Business intelligence (BI) tools
Custom apps
How can all of these clients access all of these data sources?


Слайд 6 A Solution: OData
The Open Data Protocol (OData) addresses

A Solution: ODataThe Open Data Protocol (OData) addresses this problemIt lets

this problem
It lets diverse clients access diverse data sources
OData

defines:
An abstract data model
A standard access protocol
With multiple data serialization formats
OData is a generic technology
It’s not tied to Windows
Although Microsoft provides tools and libraries for implementing OData

Слайд 7 OData
Data Sources
Clients
Web Browsers
(Internet Explorer,
Firefox, …)
Mobile Phones
(Android, iPhone,

ODataData SourcesClientsWeb Browsers(Internet Explorer,Firefox, …)Mobile Phones (Android, iPhone, Windows Phone 7)Illustrating ODataBI Tools(Microsoft Excel,Tableau Desktop)


Windows Phone 7)
Illustrating OData
BI Tools
(Microsoft Excel,
Tableau Desktop)


Слайд 8 OData Components (1)
The OData data model
Provides a generic

OData Components (1)The OData data modelProvides a generic way to organize

way to organize and describe data
Uses the Entity

Data Model (EDM) from Microsoft’s Entity Framework

The OData protocol
Based on HTTP
Lets a client make requests to and get responses from an OData service

Слайд 9 OData Components (2)
An OData service
Exposes an endpoint that

OData Components (2)An OData serviceExposes an endpoint that allows access to

allows access to data
Uses the abstractions of the OData

data model to translate data between its underlying form (e.g., relational tables) into the format sent to the client

OData client libraries
Make it easier to create software that accesses data via the OData protocol

Слайд 10 Data Source
OData Components An illustration
Client

Data SourceOData Components An illustrationClient

Слайд 11 Accessing Data from Mobile Devices and Browsers An OData

Accessing Data from Mobile Devices and Browsers An OData scenario

scenario


Слайд 12 Exposing Data from a Cloud Application An OData scenario

Exposing Data from a Cloud Application An OData scenario

Слайд 13 Using Diverse Data Sources with BI Tools An OData

Using Diverse Data Sources with BI Tools An OData scenario

scenario


Слайд 14 Examining OData: A Closer Look at the Technology

Examining OData: A Closer Look at the Technology

Слайд 15 The OData Data Model Entities and associations in the

The OData Data Model Entities and associations in the EDM

Слайд 16 The OData Data Model A closer look at the

The OData Data Model A closer look at the EDM

Слайд 17 The OData Protocol Basics
Based on HTTP
Example verbs:
POST: Creates a

The OData Protocol BasicsBased on HTTPExample verbs:POST: Creates a new entityGET:

new entity
GET: Reads data from one or more entities
PUT:

Updates an existing entity, replacing all of its properties
DELETE: Removes an entity
MERGE: Updates an existing entity, but replaces only specified properties
Supported serialization options:
XML-based Atom/AtomPub
JavaScript Object Notation (JSON)

Слайд 18 The OData Protocol Illustrating Atom and AtomPub

The OData Protocol Illustrating Atom and AtomPub

Слайд 19 The OData Protocol Mapping between EDM and Atom/AtomPub

The OData Protocol Mapping between EDM and Atom/AtomPub

Слайд 20 The OData Protocol Serializing relational data in Atom/AtomPub

The OData Protocol Serializing relational data in Atom/AtomPub

Слайд 21 The OData Protocol Getting an AtomPub service document

The OData Protocol Getting an AtomPub service document

Слайд 22 The OData Protocol An example AtomPub service document


The OData Protocol An example AtomPub service document…  Customers  Orders …


Customers


Orders






Слайд 23 The OData Protocol Getting an Atom feed document
OrderID
Status
CustID
CustID
Name
Address
Customers
Orders
Relational Database
OData

The OData Protocol Getting an Atom feed documentOrderIDStatusCustIDCustIDNameAddressCustomersOrdersRelational DatabaseOData ServiceClient

Service
Client


Слайд 24 The OData Protocol An example Atom feed document (1)

The OData Protocol An example Atom feed document (1) Orders

xmlns:m= … xmlns:d= … >
Orders






3501
Shipped
867734



An OData-defined extension to Atom/AtomPub

An Entity Data Model-defined data type


Слайд 25 The OData Protocol An example Atom feed document (2)

The OData Protocol An example Atom feed document (2)  …





5630
Placed
8499734










Слайд 26 The OData Protocol Some other options

Returning the number of

The OData Protocol Some other optionsReturning the number of entries in

entries in a feed:

http://GET www.fabrikam.com/example/Orders/$count

Returning only the

entry whose primary key is 5630:
http://GET www.fabrikam.com/example/Orders(5630)


Слайд 27 The OData Protocol Serializing data with JSON
The first request:

The OData Protocol Serializing data with JSONThe first request: http://GET www.fabrikam.com/exampleThe

http://GET www.fabrikam.com/example

The response:

{ "d" : {

"EntitySets": ["Customers", "Orders"]
} }


Слайд 28 The OData Protocol Serializing data with JSON
Requesting data:

The OData Protocol Serializing data with JSONRequesting data: GET http://www.fabrikam.com/example/Orders(5630)The response:

GET http://www.fabrikam.com/example/Orders(5630)

The response:

{ "d" : {
"results":

{
"OrderID": 5630,
"Status": "Placed",
"CustID": 8499734 }
} }


Слайд 29 The OData Protocol Issuing queries (1)
The OData query language

The OData Protocol Issuing queries (1)The OData query language is expressed

is expressed as options appended to a GET request

Examples:
$top=n:

Returns only the first n entities in an entity set
That is, the first n entries in an Atom feed
$skip=n: Skips the first n entities in an entity set
Lets a client retrieve a series of distinct pages on subsequent requests
$format: Determines whether data should be returned in JSON or Atom/AtomPub
Default is Atom/AtomPub

Слайд 30 The OData Protocol Issuing queries (2)
Expressions:
$orderby=: Orders results by

The OData Protocol Issuing queries (2)Expressions:$orderby=: Orders results by the value

the value of one or more properties in those

results
$filter=: Returns only entities that match the specified expression
$select=: Returns only the specified properties in an entity

Example:

http://GET www.fabrikam.com/example/Orders?$filter=OrderID gt 3000 and OrderID lt 5000


Слайд 31 Implementing OData What Microsoft provides

Implementing OData What Microsoft provides

Слайд 32 Conclusion
OData provides broad support for accessing many kinds

ConclusionOData provides broad support for accessing many kinds of dataIt includes:A

of data
It includes:
A general data model
A protocol
With serialization in

Atom/AtomPub or JSON
Microsoft also provide support for implementing OData clients and services

OData addresses an important problem


Слайд 33 Feedback
Dear attendees!
Your feedback is appreciated!
In notepad that

Feedback Dear attendees!Your feedback is appreciated!In notepad that can be found

can be found in attendee’s infopack, you will find

a feedback form
Please, rate the session and pass the feedback form to the moderator on exit
To take part in a lottery, please do not forget to mark the feedback form with the number of your badge
Thank you!

Слайд 34 Questions?
Providing Broad Access to Data with OData,

Questions? Providing Broad Access to Data with OData, ARC202David ChappellPrincipal, Chappell

ARC202
David Chappell
Principal, Chappell & Associates
david@davidchappell.com
www.davidchappell.com

You can ask your questions

at Microsoft zone in Hall 17 within an hour after end of this session

Слайд 35 For Further Reading
Introducing OData
http://www.davidchappell.com/writing/white_papers/Introducing_OData_v1.0--Chappell.pdf

For Further ReadingIntroducing OData	http://www.davidchappell.com/writing/white_papers/Introducing_OData_v1.0--Chappell.pdf

  • Имя файла: providing-broad-access-to-data-with-odata.pptx
  • Количество просмотров: 126
  • Количество скачиваний: 0
- Предыдущая Ukrainian agriculture
Следующая - Борис Пастернак