Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Amazon Web Services Blog:
Version 2 of the AWS SDK for PHP (now with Guzzle)
Nov 15, 2012 @ 20:57:49

The Amazon Web Services group has recently released an updated version of their SDK for PHP and at it's heart is the open source project Guzzle (a HTTP client framework).

The new SDK is built on top of the Guzzle HTTP client framework, 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 Symfony2 EventDispatcher) allows you to implement custom, event-driven behavior.

In the AWS post 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 migration guide to bring things up to date.

tagged: aws amazon webservices guzzle opensource http client version release sdk

Link:


Trending Topics: