<?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 16:05:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Tinyizing URLs with Zend_Http_Client]]></title>
      <guid>http://www.phpdeveloper.org/news/11329</guid>
      <link>http://www.phpdeveloper.org/news/11329</link>
      <description><![CDATA[<p>
In <a href="http://raphaelstolt.blogspot.com/2008/10/tinyizing-urls-with-zendhttpclient.html">this new post</a> today <i>Raphael Stolt</i> shows how to use the Zend_Http_Client component of the <a href="http://framework.zend.com">Zend Framework</a> to "tinyize" a URL.
</p>
<blockquote>
In a recent <a href="http://www.davedevelopment.co.uk/2008/10/13/zend-framework-and-the-twitter-api/">blog post</a> Dave Marshall outlined a quick workaround for tweeting via the <a href="http://framework.zend.com/manual/en/zend.http.html#zend.http.client">Zend_Http_Client</a> component which is a reasonable approach for calling services that aren't in the Zend Framework core yet like <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Twitter">Zend_Service_Twitter</a> or are not supported out of the box. Therefore this post will try to describe a Zend Framework way of creating tinyized URLs.
</blockquote>
<p>
He creates a UrlShorterner interface containing a shortenize() method that automates sending a URL over to the <a href="http://www.tinyurl.com">tinyurl.com</a> web service and returning the results.
</p>]]></description>
      <pubDate>Mon, 03 Nov 2008 07:55:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Marshall's Blog: Zend Framework and the Twitter API]]></title>
      <guid>http://www.phpdeveloper.org/news/11255</guid>
      <link>http://www.phpdeveloper.org/news/11255</link>
      <description><![CDATA[<p>
<i>Dave Marshall</i> has a <a href="http://www.davedevelopment.co.uk/2008/10/13/zend-framework-and-the-twitter-api/">(very) quick post</a> on tying together your Zend Framework application with the <a href="http://www.twitter.com">Twitter</a> API.
</p>
<blockquote>
<a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Twitter">Zend_Service_Twitter</a> looks like it will be fairly comprehensive, but it's not in the core yet and is probably a little overkill for my simple use case. I then had a look at <a href="http://framework.zend.com/manual/en/zend.rest.client.html">Zend_Rest_Client</a>, which seemed to confuse me. I couldn't actually get it to add the parameters I wanted to the call, I guess it's better for interacting with <a href="http://framework.zend.com/manual/en/zend.rest.server.html">Zend_Rest_Server</a> or fully <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">restful</a> APIs. 
</blockquote>
<p>
He opts for the <a href="http://framework.zend.com/manual/en/zend.http.html">Zend_Http_Client</a> component and includes the simple fifteen line script to make the connection and post a new update.
</p>]]></description>
      <pubDate>Tue, 21 Oct 2008 09:33:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: One thumb up and two down (Zend_Http_Client)]]></title>
      <guid>http://www.phpdeveloper.org/news/10418</guid>
      <link>http://www.phpdeveloper.org/news/10418</link>
      <description><![CDATA[<p>
Coming back from some <a href="http://www.phpdeveloper.org/news/10381">previous comments</a> about the Zend_Http_Client in the Zend Framework, <i>Lukas Smith</i> admits that a <a href="http://framework.zend.com/manual/en/zend.http.client.adapters.html#zend.http.client.adapters.proxy">certain feature</a> has come in handy with their development, but another bug has come up that has gotten under his skin - a problem with the component's cookie handling.
</p>
<blockquote>
We ran into a really hard to find <a href="http://framework.zend.com/issues/browse/ZF-1850">bug in the cookie handling</a> of Zend_Http_Client, which has been filed as a bug back in August 2007 against version 1.0.1 (today we are at 1.5.2). More over this is a bug that other similar packages have <a href="http://pear.php.net/bugs/bug.php?id=1080">gotten over in 2004</a>.
</blockquote>
<p>
He had to use <a href="http://www.wireshark.org/">wireshark</a> to finally track down the culprit - a call to urlencode on the contents of the cookie before sending it. He also includes some code to overcome a problem he had with UTF-16 in one of his feeds (a custom function that takes in and returns a string translated correctly).
</p>]]></description>
      <pubDate>Mon, 16 Jun 2008 09:32:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Shahar Evron's Blog: Adapters of the new Zend_Http_Client]]></title>
      <guid>http://www.phpdeveloper.org/news/6847</guid>
      <link>http://www.phpdeveloper.org/news/6847</link>
      <description><![CDATA[<p>
On his blog, Premature Optimization, <i>Shahar Evron</i> has posted some information about work he's done on the Zend_Http_Client package of the Zend Framework - including the push to make it live.
</p>
<blockquote>
Earlier this week, I finally (after long and hard work) pushed the Zend_Http_Client out of the incubator and into the core of <a href="http://framework.zend.com/">Zend Framework</a>, and it will be released with the 0.6 preview release.
</blockquote>
<p>
Some of the things introduced in this package include the introduction of "connection adapters", a method of having an adapter object made responsible for handling the networking connection. The default for this is the socket adapter, but work is already being done to create cURL and  future ideas for a caching adapter or a pfsockopen-based option for more preferment connection needs.
</p>
<p>
<i>Shahar</i> <a href="http://prematureoptimization.org/blog/archives/7">also includes</a> some stats to show off what the new package can do and how many requests per second it can handle.
</p>]]></description>
      <pubDate>Thu, 07 Dec 2006 14:41:00 -0600</pubDate>
    </item>
  </channel>
</rss>
