Friday, August 3, 2012

Read and Write on Restful Services using Atompub



The Atom Publishing Protocol is the most popular model for read/write RESTful services. If you have developed WCF Data Services then, it supports oData which is nothing but Atompub support. It is used for Publishing and editing web resources using HTTP and XML 1.0. The protocol supports the creation of Web Resources and provides facilities for:
  • Collections: Sets of Resources, which can be retrieved in whole or in part.
  • Services: Discovery and description of Collections.
  • Editing: Creating, editing, and deleting Resources.
Protocol Model
The Atom Protocol specifies operations for publishing and editing Resources using HTTP. It uses Atom-formatted representations to describe the state and metadata of those Resources. It defines how Collections of Resources can be organized, and it specifies formats to support their discovery, grouping and categorization.

There are many popular Atompub protocol supported extension are availale in market out of which GDATA by google and oData by Microsoft stand tall.

Many of Google’s web sites expose an APP extension called GData (
http://code.google.com/apis/gdata/). Blogger, Google Calendar, Google Notebook, and other web applications also expose resources that conform to the GData protocol. Restful Services developed using Microsoft WCF data servcies by default support ATOMpub extension called oDATA which can feed applications like Excel, Silverlight, Lightswitch and other microsoft tools. 

No comments:

Post a Comment