News Feed
Sections




News Archive
feed this:

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

Brian Swan's Blog:
Accessing Windows Azure Table Data as OData via PHP
September 17, 2010 @ 12:19:09

Brian Swan has a new post on his MSDN blog today looking at a different way to consume the data from Windows Azure instead of the normal interface - consuming it as OData.

Did you know that data stored in Windows Azure Table storage can be accessed through an OData feed? Does that question even make sense to you? If you answered no to either of those questions and you are interested in learning more, then read on. In this post I'll show you how to use the OData SDK for PHP to retrieve, insert, update, and delete data stored in Windows Azure Table storage.

He shows how to create a class that matches the table structure (complete with hints in the comments) and is used along with the service account/key information to create a table, insert an entity, remove them, updating an entity, deleting it and, finally, deleting the table.

0 comments voice your opinion now!
odata windows azure sdk tutorial


Brian Swan's Blog:
Accessing OData for SQL Azure with AppFabric Access Control and PHP
September 03, 2010 @ 13:42:15

Brian Swan has a new post to his blog today about consuming protected feeds of OData coming from SQL Azure in a PHP application.

I did write a post a few weeks ago that described how to enable anonymous access to SQL Azure OData feeds (Consuming SQL Azure Data with the OData SDK for PHP), but I had a few things to learn about AppFabric access control before I felt comfortable writing about authenticated access to these feeds.

He starts from the Azure side, creating a sample OData feed and adding permissions to only allow access to a specific (database) user for the feed. You'll use a set of data to connect to the feed - a username, a secret key, an issuer name and the OData endpoint address. Then, using the OData SDK he shows how to generate the needed classes with the automatic tool and use them to connect to the endpoint and retrieve data from the feed. He also includes a little snippet for those that might not want to use the SDK - an example using curl to connect and authorize the session.

0 comments voice your opinion now!
azure appfabric access control tutorial microsoft odata feed


Brian Swan's Blog:
Consuming SQL Azure Data with the OData SDK for PHP
August 04, 2010 @ 11:22:56

Brian Swan has a new post to his MSDN blog today about using the OData SDK to consume Azure data (ODP is the Open Data Protocol that's been defined). The OData interfaces is a REST-based service used to grab data from multiple types of data sources.

The SQL Azure OData Service incubation (currently in SQL Azure Labs) provides an OData interface to SQL Azure databases that is hosted by Microsoft. Another way to think about this is that SQL Azure OData Service provides a REST interface to your SQL Azure data.

He shows you how to create the SQL Azure Server, make a SQL Azure database and creating the SQL Azure OData service. Then, with that all set up, you can use this other tutorial to connect your script to this new service.

0 comments voice your opinion now!
tutorial consume sql azure data odata sdk


php|architect Blog:
Goodies for PHPers in Internet Explorer 9
April 13, 2010 @ 10:08:07

On the php|architect blog today Orlando Medina points out a few goodies in Internet Explorer 9 that could be useful for PHP developers out there.

Microsoft has some catching up to do in terms of standards compatibility, but they are also doing some good things with this browser. They are bringing some much needed web-standards compatibility, in addition to some JavaScript performance enhancements.

Handy new features include better HTML5 support, CSS3 support, XHTML parsing, Javascript compilation and an overall trend towards a more standards-based approach that Microsoft hasn't worried about in a good while now. He also mentions the OData toolkit that lets your web applications speak the same "language" according to Microsoft's more unified specification.

0 comments voice your opinion now!
internetexplorer web standards odata specification


Brian Swan's Blog:
CRUD Operations with the OData SDK for PHP
March 24, 2010 @ 11:17:28

Brian Swan continues his look at using the oData data feeds from PHP with this new look at creating some of the basic CRUD (create, read, update, delete) operations via the oData SDK for PHP.

This week I will go one step farther and look at how to perform CREATE, UPDATE, and DELETE operations (CRUD operations) with the generated classes. Of course, this means that I need access to a read-write service, so before writing PHP code for CRUD operations, I'll walk you through the steps for creating a service that implements the OData protocol.

He shows how to create the oData service (with a few screenshots), making the proxy classes for the connection and using methods like "AddObject", "UpdateObject" and "DeleteObject" to work directly with the data feed.

0 comments voice your opinion now!
crud operation odata tutorial sdk


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



Community Events





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


series community library release introduction interview testing list threedevsandamaybe configure developer wordpress application install unittest code podcast api language laravel

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