<?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>Thu, 04 Dec 2008 10:32:50 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: New in symfony 1.2: Small things matter]]></title>
      <guid>http://www.phpdeveloper.org/news/10952</guid>
      <link>http://www.phpdeveloper.org/news/10952</link>
      <description><![CDATA[<p>
In <a href="http://www.symfony-project.org/blog/2008/09/02/new-in-symfony-1-2-small-things-matter">this new post</a> to the symfony blog today <i>Fabien</i> talks about some of the "small things" that help to make this latest version of the framework (1.2) even better.
</p>
<blockquote>
As for every symfony version, we try to simplify the API and make it more intuitive and powerful. Here are some examples that you will soon enjoy in symfony 1.2.
</blockquote>
<p>
There's four included in the post (and many more in the framework):
</p>
<ul>
<li>Application name in CLI tasks
<li>Native PUT and DELETE support from the browser
<li>Shortcuts in the response
<li>sfValidatorSchemaCompare validator
</ul>]]></description>
      <pubDate>Wed, 03 Sep 2008 09:33:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Accessing Incoming PUT Data from PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10728</guid>
      <link>http://www.phpdeveloper.org/news/10728</link>
      <description><![CDATA[<p>
For a recent REST web service project, <i>Lorna Mitchell</i> had to put together a server for the remote clients to use. She started with a GET request then moved to handling a POST request then to a PUT request - that's where <a href="http://www.lornajane.net/posts/2008/Accessing-Incoming-PUT-Data-from-PHP">the difficulty came in</a>:
</p>
<blockquote>
PHP doesn't have a built-in way to do this, and at first I was a little confused as to how I could reach this information. It turns out that this can be read from the incoming stream to PHP, php://input.
</blockquote>
<p>
Pulling from that stream gave her the raw data she needed (nicely urlencoded too) that she could parse out and use. She includes a simple example that has a check for the REQUEST_TYPE in the _SERVER superglobal to see how the request should be handled (PUT versus GET).
</p>]]></description>
      <pubDate>Thu, 31 Jul 2008 12:05:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Supporting PUT & DELETE in the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9719</guid>
      <link>http://www.phpdeveloper.org/news/9719</link>
      <description><![CDATA[<p>
<i>Ben Ramsey</i> has <a href="http://benramsey.com/archives/supporting-put-delete-in-the-zend-framework/">recently blogged about</a> some of the research and bit of development that he's done to add "more correct" functionality to the Zend Framework for working with RESTful interfaces - proper PUT and DELETE support.
</p>
<blockquote>
I've recently been wrapped up in an effort to design and implement a RESTful API using the Atom Protocol for a project at work. We are using the Zend Framework as the underlying framework for the project, so, in order to follow the Atom Protocol, I needed to support the HTTP methods PUT and DELETE
</blockquote>
<p>
Since the Zend Framework has been playing such a prominent role in the development, he's been digging into the Zend_Rest_Server component code and isn't too happy about its support for PUT and DELETE. As a result, he's proposed methods that might help resolve things such as isGet, isDelete, isOptions and getEntityBody. He' even created <a href="http://framework.zend.com/issues/browse/ZF-2723">a patch</a> to make the needed changes.
</p>]]></description>
      <pubDate>Thu, 28 Feb 2008 10:27:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: How To HTTP-PUT A File Somewhere Using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9415</guid>
      <link>http://www.phpdeveloper.org/news/9415</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has a <a href="http://www.littlehart.net/atthekeyboard/2008/01/11/how-to-http-put-a-file-somewhere-using-php/">quick post</a> (but complete with code) about moving files around a bit differently than the norm - it's his method for using a HTTP-PUT to push a file out.
</p>
<blockquote>
A work project is getting close to 0.1 status. Pretty underwhelming, I know. One of the last 'milestones' for 0.1 is taking these wonderful XML documents that my web app creates and sends them to an internal web service. This web service will accept documents via an HTTP PUT [...] so I dug around a bit on the web and put together some code.
</blockquote>
<p>
The code is a generic "publish" method that opens a stream to the remote server and, in a binary format, pushes the contents of a local file and parses out the response.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 09:39:00 -0600</pubDate>
    </item>
  </channel>
</rss>
