Book Image

Windows Phone 7.5 Data Cookbook

By : Ramesh Thalli
Book Image

Windows Phone 7.5 Data Cookbook

By: Ramesh Thalli

Overview of this book

Windows Phone 7.5 Mango contains support for apps written in Silverlight or XNA. These apps can store data on the device, and also load and manipulate data from "the cloud" and other web services.This Windows Phone 7.5 Data Cookbook has a range of recipes to help you apply data handling concepts. You will be able to apply the knowledge gained from these recipes to build your own apps effectively. This Windows Phone 7.5 Data Cookbook starts with data binding concepts at the UI layer and then shows different ways of saving data locally and externally in databases. The book ends with a look at the popular MVVM software design pattern. The recipes contained in this book will make you an expert in the areas of data access and storage.
Table of Contents (15 chapters)
Windows Phone 7.5 Data Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


The beauty of the World Wide Web is its simplicity in addressing any resource using a simple URI (Uniform Resource Identifier) wherever it exists or whatever type it may be. This architectural success is the basis of Representational State Transfer (REST).

HTTP (Hypertext Transfer Protocol) is the most simple, scalable, stateless, and open protocol used on the Web. The two most popular verbs used are GET and POST. GET returns a specific resource requested, while POST creates a new resource. REST services provide simple URI access to resources exposed over HTTP. REST supports four HTTP verbs: GET, POST, PUT, and DELETE. Unlike POST, PUT modifies an existing resource. DELETE removes the resource. In this chapter let's explore different providers such as CNN and Twitter, and build a simple REST service.

Different types of content or media are available like the following popular ones:

  • XML – application/xml

  • RSS – application/rss+xml

  • ATOM – application/atom+xml

  • JSON – application/json...