<?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>Tue, 21 May 2013 23:42:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Deprecated Methods in Pecl_Http]]></title>
      <guid>http://www.phpdeveloper.org/news/15347</guid>
      <link>http://www.phpdeveloper.org/news/15347</link>
      <description><![CDATA[<p>
In a quick post to her blog <i>Lorna Mitchell</i> mentions <a href="http://www.lornajane.net/posts/2010/Deprecated-Methods-in-Pecl_Http">a deprecated method in pecl_http</a> that could cause problems for you down the road - addRawPostData.
</p>
<blockquote>
I'm a big fan of <a href="http://pecl.php.net/package/pecl_http">pecl_http</a>, which I use quite often as I work so regularly with APIs and on systems where I can get it installed, it's much nicer than PHP's curl extension. Recently though I've been often seeing output which reads: Function HttpRequest::addRawPostData() is deprecated
</blockquote>
<p>
The alternative is to use the "setBody()" method on the HttpRequest object instead. This, in effect, does the same thing and sets the contents of the message to the raw data you'd like to post. Unfortunately, the PHP manual page doesn't reflect that this method is deprecated. You can find out more about the functionality the "pecl_http" extension has to offer <a href="http://us.php.net/manual/en/book.http.php">here</a>. It's a very flexible and reliable way for your scripts to interact with remote servers via HTTP calls.
</p>]]></description>
      <pubDate>Thu, 28 Oct 2010 10:04:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Reinheimer's Blog: Where's it Up? ]]></title>
      <guid>http://www.phpdeveloper.org/news/14841</guid>
      <link>http://www.phpdeveloper.org/news/14841</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Paul Reinheimer</i> <a href="http://blog.preinheimer.com/index.php?/archives/359-Wheres-it-Up.html">talks about a service</a> (from <a href="http://wonderproxy.com/">WonderProxy</a>) called <a href="http://wheresitup.com/">Where's it Up?</a> - a tool that can be used to see where in the world a site is up. He also outlines the technology behind it all.
</p>
<blockquote>
The tool accepts a URL, and allows you to select global locations. It then attempts to connect to the given server and issue a HEAD request from the global locations you selected, and reports the results. [...] Building a reasonably robust application was trivial, thanks to being able to leverage the great technology built by others. 
</blockquote>
<p>
Tools that make up the application's stack include a Gearman server, curl, PHP with the <a href="http://pecl.php.net/package/pecl_http">pecl_http extension</a>, memcached and supervisord. He details how they all fit together and why they built it in the first place.
</p>]]></description>
      <pubDate>Fri, 23 Jul 2010 10:53:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Wallner's Blog: Introducing libcurls multi socket API]]></title>
      <guid>http://www.phpdeveloper.org/news/8632</guid>
      <link>http://www.phpdeveloper.org/news/8632</link>
      <description><![CDATA[<p>
<i>Mike Wallner</i> has <a href="http://blog.iworks.at/?/archives/62-Introducing-libcurls-multi-socket-API.html">announced the release</a> of the first beta of the <a href="http://pecl.php.net/package/pecl_http">pecl_http</a> PECL package, an extension that "aims to provide a convenient and powerful
set of functionality for one of PHPs major applications."
</p>
<blockquote>
So, finally a first beta of <a href="http://pecl.php.net/package/pecl_http">pecl_http</a> 1.6 has been released. This is the first version which supports <a href="http://curl.haxx.se/libcurl/">libcurls</a> <a href="http://curl.haxx.se/libcurl/c/curl_multi_socket.html">multi socket API</a> introduced in 7.16 through libevent.
</blockquote>
<p>
The rest of <a href="http://blog.iworks.at/?/archives/62-Introducing-libcurls-multi-socket-API.html">the post</a> shows stats comparing the timing on a normal connection versus using the multi-socket API (on both an empty file and a 100k file).
</p>]]></description>
      <pubDate>Tue, 11 Sep 2007 13:48:44 -0500</pubDate>
    </item>
  </channel>
</rss>
