<?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>Wed, 19 Jun 2013 13:40:04 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: REST - Can You do More than Spell It? Part 4]]></title>
      <guid>http://www.phpdeveloper.org/news/17981</guid>
      <link>http://www.phpdeveloper.org/news/17981</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the latest tutorial in their series covering RESTful APIS - <a href="http://phpmaster.com/rest-can-you-do-more-than-spell-it-4/">part four</a> of "REST - Can you do More than Spell it?" In this latest part of the series, they focus on something very key to RESTful services, the HTTP spec (and headers).
</p>
<blockquote>
We're getting close to the end now, and the only thing remaining is to discuss a little more about the protocol you'll most likely use in any RESTful application that you write. Because HTTP is so often used with REST, that's the protocol I'd like to focus on.
</blockquote>
<p>
He goes through the structure of a typical (raw) HTTP header and talks about some of the more common headers and what actions/settings they represent. He includes examples of setting headers (with <a href="http://php.net/header">header</a>, naturally) and a <a href="http://php.net/curl">curl</a> example showing how to set the request headers. The tutorial is finished off with a brief mention of custom HTTP headers and the the good and bad that comes with them.
</p>]]></description>
      <pubDate>Mon, 21 May 2012 08:44:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: PHPSpec Reporting Gets A Needed Boost]]></title>
      <guid>http://www.phpdeveloper.org/news/9042</guid>
      <link>http://www.phpdeveloper.org/news/9042</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/318-PHPSpec-Reporting-Gets-A-Needed-Boost.html">made a few updates</a> to the PHPSpec software he's developed in preparation for the first stable release - additions to the reporting functionality to give as much information as possible.
</p>
<blockquote>
PHPSpec is closing in on its first stable release, so the time had finally come to spruce up its output! No more the simple reporting of failed specs - now you get a few more details in a readable format, exceptions and errors even come with traces. In addition, I've implemented specdoc output as an option (using "-s") so you can get a list of specs in their plain text form.
</blockquote>
<p>
He's also included an example of the new output in the post as well, showing the results of both successful and errored responses. You can check out the actual spec files on the <a href="http://phpmock.googlecode.com/svn/branches/padraic/specs/">googlecode repository</a> for the project and get more details on the project itself (including the latest development snapshots) on the <a href="http://dev.phpspec.org/">project's website</a>.
</p>]]></description>
      <pubDate>Wed, 14 Nov 2007 14:25:00 -0600</pubDate>
    </item>
  </channel>
</rss>
