• Like

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Breaking down data silos with the open data protocol

  • 2,096 views
Uploaded on

 

More in: Business , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,096
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
32
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Representational State Transfer (REST) is defined as an architectural style, which means that it is not a concrete systems architecture, but instead a set of constraints that are applied when designing a systems architecture. We briefly discuss these constraints, but then focus on explaining how the Web is one such systems architecture that implements REST. In particular, the mechanisms of the Uniform Resource Identifiers (URIs), the Hypertext Transfer Protocol (HTTP), media types, and markup languages such as the Hypertext Markup Language (HTML) and the Extensible Markup Language (XML). We also introduce Atom and the Atom Publishing Protocol (AtomPub) as two established ways on how RESTful services are already provided and used on today's Web.
  • http://localhost:53211/owind.svc/Categories?$filter=(CategoryID add 4) eq 8

Transcript

  • 1. Breaking Down “Data Silos” with the Open Data Protocol (OData)
    Chris Woodruff
  • 2. Who am I?
    Chris Woodruff
    MVP, Data Platform Development
    Chris.Woodruff@rcmt.com
    http://chriswoodruff.com
    http://deepfriedbytes.com
    http://nplus1.org
    twitter @cwoodruff
  • 3. Today, the tools for capturing data both at the mega-scale and at the milli-scale are just dreadful. After you have captured the data, you need to curate it before you can start doing any kind of data analysis, and we lack good tools for both data curationand data analysis.
    Jim Gray
    Quote
  • 4. What is data now?
  • 5. What could data be tomorrow?
  • 6. An architectural style for building loosely coupled systems
    defined by a set of very general constraints (principles)
    the Web (URI/HTTP/HTML/XML) is an instance of this style
    The Web used correctly (i.e., not using the Web as transport)
    HTTP is built according to RESTful principles
    services are built on top of Web standards without misusing them
    most importantly, HTTP is an application protocol (not a transport protocol)
    Anything that uses HTTP and XML (XML without SOAP)
    XML-RPC was the first approach for this
    violates REST because there is no uniform interface
    REST: 3 definitions
  • 7. The name Atom applies to a pair of related standards. The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol (AtomPub) is a simple HTTP-based protocol for creating and updating web resources.
    ATOMPub
  • 8. http://services.odata.org/OData/OData.svc
    ______________________________________/
    |
    service root URI
    http://services.odata.org/OData/OData.svc/Category(1)/Products?$top=2&$orderby=name
    ______________________________________/ _________________/ ________________/
    | | |
    service root URI resource path query options
    What is a URI?
  • 9. Creation of standard Web API’s
    Allow internal Information Workers to be more productive
    Give IT staff more time to work on meaningful projects
    Monetize/Open Data for others to use and benefit from
    What are the benefits ofOData?
  • 10. The beauty of Metadata
  • 11. The Basics
    • Feeds, which are Collections of typed Entries
    • 12. OData services can expose Service Operations
    • 13. OData services expose all these constructs via URIs
    • 14. OData service may also expose a Service Metadata Document
  • Datatypes
  • 15. Full SQL like Query “Language”
  • 16. How we get around OData
    Query Navigation
  • 17. Addressing entities and sets
    Presentation options
  • 18. Query Options
  • 19. Filter Expressions
  • 20. Filter Methods
  • 21. Examples
    http://.../OData.svc/GetProductsByRating?rating=5
    Identifies the "GetProductsByRating" Service Operation and specifies a value of 5 for the "rating" input parameter.
    Service Operations(Functions)
  • 22. Where can we produce Odata?
    WCF Data Services
    WCF RIA Services
  • 23. Create services directly from Visual Studio
    Various data sources
    Entity Framework
    LINQ providers
    Model-driven
    Structural description in Entity Data Model
    Metadata shapes service
    HTTP
    Hosting/HTTP listener
    Service Runtime
    IQueryable (+ IUpdatable)
    Data Access Layer
    Entity Framework
    Custom LINQ provider
    Relational database
    Other sources
  • 24. What do you need for WCF Data Services?
    Visual Studio 2010
    SQL Server 2008 SP1
    ASP.NET 4.0
    WCF Data Services Framework uses ASP.NET for Authentication and Authorization
  • 25. Where can we consume Odata?
    LINQ
  • 26. Consuming from .NET Applications
    Demo
  • 27. Open your data for others
  • 28. More Information
    WCF Data Services Framework Home -- http://tinyurl.com/wcfdataservices
    WCF Data Services Framework Team Blog -- http://blogs.msdn.com/astoriateam
    ODataPrimer.com – http://odataprimer.com
  • 29. Note about Internet Explorer
    Note, Internet Explorer by default renders ATOM in a friendly format that makes OData feeds unreadable.  To fix this, turn off IE feed viewing by turning off the option
    Tools -> Internet Options -> Content ->  Feeds (settings) -> Turn on feed viewing
  • 30. Required Reading
    Wrap up
    The Fourth Paradigm: Data-Intensive Scientific Discovery
  • 31. More Required Reading
  • 32. Contact me!!
    cwoodruff@live.com
    Twitter @cwoodruff
    MSN IM cwoodruff@live.com