<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 00:49:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Swan's Blog: Accessing Windows Azure Table Data as OData via PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15149</guid>
      <link>http://www.phpdeveloper.org/news/15149</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> 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 - <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/09/16/accessing-windows-azure-table-data-as-odata-via-php.aspx">consuming it as OData</a>.
</p>
<blockquote>
Did you know that data stored in <a href="http://www.microsoft.com/windowsazure/windowsazure/">Windows Azure</a> Table storage can be accessed through an <a href="http://www.odata.org/">OData</a> 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 <a href="http://odataphp.codeplex.com/">OData SDK for PHP</a> to retrieve, insert, update, and delete data stored in Windows Azure Table storage. 
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Fri, 17 Sep 2010 12:19:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: Accessing OData for SQL Azure with AppFabric Access Control and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15076</guid>
      <link>http://www.phpdeveloper.org/news/15076</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> has <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/09/02/accessing-odata-for-sql-azure-with-appfabric-access-control-and-php.aspx">a new post</a> to his blog today about consuming protected feeds of <a href="http://www.odata.org/">OData</a> coming from <a href="http://msdn.microsoft.com/en-us/windowsazure/sqlazure/default.aspx">SQL Azure</a> in a PHP application.
</p>
<blockquote>
I did write a post a few weeks ago that described how to enable anonymous access to SQL Azure OData feeds (<a href="http://blogs.msdn.com/b/brian_swan/archive/2010/08/03/consuming-sql-azure-data-with-the-odata-sdk-for-php.aspx">Consuming SQL Azure Data with the OData SDK for PHP</a>), but I had a few things to learn about AppFabric access control before I felt comfortable writing about authenticated access to these feeds.
</blockquote>
<p>
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 <a href="http://odataphp.codeplex.com/">OData SDK</a> 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 <a href="http://php.net/curl">curl</a> to connect and authorize the session.
</p>]]></description>
      <pubDate>Fri, 03 Sep 2010 13:42:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: Consuming SQL Azure Data with the OData SDK for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14903</guid>
      <link>http://www.phpdeveloper.org/news/14903</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> has a new post to his MSDN blog today about <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/08/03/consuming-sql-azure-data-with-the-odata-sdk-for-php.aspx">using the OData SDK</a> to consume Azure data (ODP is the Open Data Protocol that's <a href="http://blogs.msdn.com/b/sqlazure/archive/2010/07/20/10040378.aspx">been defined</a>). The OData interfaces is a REST-based service used to grab data from multiple types of data sources.
</p>
<blockquote>
The SQL Azure OData Service incubation (currently in <a href="http://www.sqlazurelabs.com/">SQL Azure Labs</a>) 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.
</blockquote>
<p>
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 <a href="http://blogs.msdn.com/b/brian_swan/archive/2010/03/18/using-the-odata-sdk-for-php.aspx">this other tutorial</a> to connect your script to this new service.
</p>]]></description>
      <pubDate>Wed, 04 Aug 2010 11:22:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect Blog: Goodies for PHPers in Internet Explorer 9]]></title>
      <guid>http://www.phpdeveloper.org/news/14339</guid>
      <link>http://www.phpdeveloper.org/news/14339</link>
      <description><![CDATA[<p>
On the php|architect blog today <i>Orlando Medina</i> points out <a href="http://www.phparch.com/2010/04/12/goodies-for-phpers-in-internet-explorer-9">a few goodies in Internet Explorer 9</a> that could be useful for PHP developers out there.
</p>
<blockquote>
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. 
</blockquote>
<p>
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 <a href="http://www.odata.org/">OData</a> toolkit that lets your web applications speak the same "language" according to Microsoft's more unified specification.
</p>]]></description>
      <pubDate>Tue, 13 Apr 2010 10:08:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: CRUD Operations with the OData SDK for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14241</guid>
      <link>http://www.phpdeveloper.org/news/14241</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> continues his look at using the oData data feeds from PHP with <a href="http://blogs.msdn.com/brian_swan/archive/2010/03/23/crud-operations-with-the-odata-sdk-for-php.aspx">this new look</a> at creating some of the basic CRUD (create, read, update, delete) operations via the <a href="http://odataphp.codeplex.com/">oData SDK for PHP</a>.
</p>
<blockquote>
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. 
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Wed, 24 Mar 2010 11:17:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: Retrieving Data with the OData SDK for PHP ]]></title>
      <guid>http://www.phpdeveloper.org/news/14217</guid>
      <link>http://www.phpdeveloper.org/news/14217</link>
      <description><![CDATA[<p>
On his MSDN blog today <i>Brian Swan</i> has a new post looking at <a href="http://blogs.msdn.com/brian_swan/archive/2010/03/18/using-the-odata-sdk-for-php.aspx">connecting PHP with the OData SDK</a> (more on that <a href="http://odataphp.codeplex.com/">here</a>) to work with data over a HTTP interface/web service.
</p>
<blockquote>
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.
</blockquote>
<p>
He shows how to use the <a href="http://odataphp.codeplex.com/">OData SDK for PHP</a> to connect to a data source, build out some pre-generated classes and pull down the information from the <a href="http://services.odata.org/Northwind/Northwind.svc/">Northwind</a> service based on a customer ID.
</p>]]></description>
      <pubDate>Fri, 19 Mar 2010 11:04:30 -0500</pubDate>
    </item>
  </channel>
</rss>
