<?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>Fri, 24 May 2013 04:19:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matt Curry's Blog: HttpSocket Instead of cURL in CakePHP Apps]]></title>
      <guid>http://www.phpdeveloper.org/news/11959</guid>
      <link>http://www.phpdeveloper.org/news/11959</link>
      <description><![CDATA[<p>
In <a href="http://www.pseudocoder.com/archives/2009/02/16/httpsocket-instead-of-curl-in-cakephp-apps/">this new post</a> to his blog <i>Matt Curry</i> suggests the use of a library in the CakePHP framework, <a href="http://api.cakephp.org/class/http-socket">HttpSocket library</a>, over the more traditional cURL tool.
</p>
<blockquote>
There are a few new Bakery articles lately that use cURL for remote calls (see here and here), rather then Cake's HttpSocket lib. This is probably because HttpSocket doesn't have a mention in the CookBook. [...] Here's a quick primer on using HttpSocket as an alternative.
</blockquote>
<p>
He shows how the library can replace a ten line piece of code with a seven line (spaced out for the configuration) call to the HttpSocket class authenticating against the twitter API.
</p>]]></description>
      <pubDate>Tue, 17 Feb 2009 08:48:04 -0600</pubDate>
    </item>
  </channel>
</rss>
