News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
Retrieving Data with the OData SDK for PHP
March 19, 2010 @ 11:04:30

On his MSDN blog today Brian Swan has a new post looking at connecting PHP with the OData SDK (more on that here) to work with data over a HTTP interface/web service.

I'll start with an over simplification: OData is a protocol for creating data services that make it possible to retrieve and edit data using HTTP. More specifically, OData enables you to define a data model that lets clients address data as resources by using URIs. Data is retrieved and updated by using the HTTP actions of GET, POST, PUT, DELETE and MERGE.

He shows how to use the OData SDK for PHP to connect to a data source, build out some pre-generated classes and pull down the information from the Northwind service based on a customer ID.

0 comments voice your opinion now!
sdk odata data http webservice


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Data Structures for PHP Devs: Stacks and Queues

DevShed: Abstract Classes in PHP - Setting Up a Concrete Example

Charlie Key's Blog: Transmitting data between Flex and PHP using JSON

NetTuts.com: Build Ajax Data Grids with CodeIgniter and jQuery

Brandon Savage's Blog: Validation Blind Spots Hurt Real Users


Community Events

Don't see your event here?
Let us know!


example php7 part2 introduction language api community project podcast opinion application list series composer laravel symfony yii2 voicesoftheelephpant framework interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework