<?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, 19 Jun 2013 15:26:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gonzalo Ayuso: How to configure Symfony's Service Container to use Twitter API]]></title>
      <guid>http://www.phpdeveloper.org/news/19136</guid>
      <link>http://www.phpdeveloper.org/news/19136</link>
      <description><![CDATA[<p>
In <a href="http://gonzalo123.com/2013/02/04/how-to-configure-symfonys-service-container-to-use-twitter-api/">this recent post</a> to his site <i>Gonzalo Ayuso</i> shows how to use the Symfony2 service container to interact directly with the Twitter API via an OAuth plugin.
</p>
<blockquote>
If we are working within a Symfony2 application or a PHP application that uses the Symfony's Dependency injection container component you can easily integrate this simple script in the service container. I will show you the way that I use to do it. 
</blockquote>
<p>
His sample code uses the <a href="http://guzzlephp.org/">Guzzle</a> HTTP library and some configuration options from a YAML file to create a new service hooked into the Twitter API with his credentials. He then imports it via his services configuration and shows an example of it in action - getting the latest contents of his timeline.
</p>]]></description>
      <pubDate>Tue, 05 Feb 2013 10:53:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Amazon Web Services Blog: Version 2 of the AWS SDK for PHP (now with Guzzle)]]></title>
      <guid>http://www.phpdeveloper.org/news/18756</guid>
      <link>http://www.phpdeveloper.org/news/18756</link>
      <description><![CDATA[<p>
The Amazon Web Services group has recently released an <a href="http://aws.typepad.com/aws/2012/11/version-2-of-the-aws-sdk-for-php.html">updated version of their SDK for PHP</a> and at it's heart is the open source project <a href="http://guzzlephp.org/">Guzzle</a> (a HTTP client framework).
</p>
<blockquote>
The new SDK is built on top of the <a href="http://guzzlephp.org/">Guzzle HTTP client framework</a>, which provides increased performance and enables event-driven customization. Each AWS service client extends the Guzzle client and describes operations on the service using a service description file. The SDK now manages persistent connections for both serial and parallel requests. It detects transient network failures, with automatic retries using truncated exponential backoff. Support for event hooks (via the <a href="http://symfony.com/doc/2.0/components/event_dispatcher/introduction.html">Symfony2 EventDispatcher</a>) allows you to implement custom, event-driven behavior.
</blockquote>
<p>
In <a href="http://aws.typepad.com/aws/2012/11/version-2-of-the-aws-sdk-for-php.html">the AWS post</a> about the update, they give you a few code snippets showing this updated version in use. This completely reworked version of the SDK is not compatible with the previous version, so you'll need to consult their <a href="http://docs.amazonwebservices.com/awssdkdocsphp2/latest/migrationguide/sdk-php2-migration-guide-welcome.html">migration guide</a> to bring things up to date.
</p>]]></description>
      <pubDate>Thu, 15 Nov 2012 14:57:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: Guzzle - RESTful web service client development framework]]></title>
      <guid>http://www.phpdeveloper.org/news/16219</guid>
      <link>http://www.phpdeveloper.org/news/16219</link>
      <description><![CDATA[<p>
<i>Michael Dowling</i> tipped us off to <a href="http://www.guzzlephp.org/">Guzzle</a>, a RESTful web service client framework that lets you build testable web service clients quickly and easily.
</p>
<blockquote>
Guzzle helps you speed up the process of creating a RESTful web service client by giving you full control of HTTP requests and access to advanced features like persistent HTTP connections, parallel requests, exponential backoff, over the wire logging, MD5 validation, cookie jars, and a caching forward proxy.
</blockquote>
<p>
Installing the framework is as easy as <a href="http://s3.guzzlephp.org/guzzle.phar">grabbing the phar archive</a> and including it in your application. Some sample code examples are included right on the front page - a simple client pulling down an XML file, grabbing Amazon S3 content, working with the HTTP request on a finer scale and making parallel requests.
</p>]]></description>
      <pubDate>Tue, 19 Apr 2011 12:39:16 -0500</pubDate>
    </item>
  </channel>
</rss>
