<?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, 22 May 2013 04:10:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Paul Jones' Blog: Brief Intro to Solar_Http_Request and Response]]></title>
      <guid>http://www.phpdeveloper.org/news/8264</guid>
      <link>http://www.phpdeveloper.org/news/8264</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> gives readers a <a href="http://paul-m-jones.com/blog/?p=252">quick overview</a> of two of the components in the Solar framework in a new post to his blog today - the Solar_Http_Request class and it's opposite, the Solar_Http_Response class.
</p>
<blockquote>
As I noted in an <a href="http://paul-m-jones.com/blog/?p=249">earlier post</a>, <a href="http://solarphp.com/">Solar</a> how has classes to represent simple HTTP requests and responses.
</blockquote>
<p>
The <a href="http://solarphp.com/class/Solar_Http_Request_Adapter">Solar_Http_Request</a> functionality is only for making requests, but uses adapters to make it easier to swap out the connection method later on - plus it's fluent. He includes an example of it in action, calling a remote page with a GET, POST and a customized request (including special headers)
</p>
<p>
The other side of the equation, <a href="http://solarphp.com/class/Solar_Http_Response">Solar_Http_Response</a> allows you to set all of the response information manually (again, fluently) to make custom responses simple.  
</p>]]></description>
      <pubDate>Tue, 17 Jul 2007 08:42:00 -0500</pubDate>
    </item>
  </channel>
</rss>
