<?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 10:16:37 -0500</pubDate>
    <ttl>30</ttl>
    <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[PHPMaster.com: Compiling PHP from Source on Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/18500</guid>
      <link>http://www.phpdeveloper.org/news/18500</link>
      <description><![CDATA[<p>
For most PHP developers, when they hear "compile from source" they automatically assume that the person talking means they're working with a unix variant-based system. In <a href="http://phpmaster.com/compiling-php-from-source-on-windows/">this new tutorial</a> from PHPMaster.com, though, they show how to "compile from source" on a different platform - Windows.
</p>
<blockquote>
Those working in a Windows environment are more likely to download and install PHP from precompiled packages. And while I don't disagree it's easier to use a precompiled solution, even on Unix systems, there are some advantages that can come with compiling a binary from source. [...] But be forewarned: compiling can be a frustrating task, especially on Windows! You must ensure your build environment is set up correctly, learn how to use the compiler and other build tools properly, and satisfy any library dependencies. Hopefully this article is your first step in overcoming many of these obstacles.
</blockquote>
<p>
The tutorial walks you through the steps you'll need to take to get your environment set up, including the tools you'll need to be able to perform the compile (including Microsoft's Visual C++ Express and the Windows Software Development Kit). Screenshots and commands are all included in the post to make the compile work. There's even a few instructions on compiling in the extensions you might need.
</p>]]></description>
      <pubDate>Thu, 20 Sep 2012 10:56:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Selenium on Android]]></title>
      <guid>http://www.phpdeveloper.org/news/17835</guid>
      <link>http://www.phpdeveloper.org/news/17835</link>
      <description><![CDATA[<p>
On DZone.com there's a recent post from <i>Giorgio Sironi</i> looking at <a href="http://css.dzone.com/articles/selenium-android">running Selenium tests on the Android platform</a> via the <a href="http://phpunit.de">PHPUnit</a> Selenium interface.
</p>
<blockquote>
Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to load, element selections, clicks and typed characters. [...] In this tutorial, we'll experiment with the Android Driver and set up a couple of tests to run inside an Android virtual device.
</blockquote>
<p>
He walks you through the basic setup of an Android environment (based on the <a href="http://source.android.com/source/initializing.html">Android SDK</a>) and how to start up the Android driver installed from <a href="http://code.google.com/p/selenium/downloads/list">the Selenium site</a>. An example test is included, showing how to make a request for a test page and checking its title as well as checking that the input from the "keyboard" is successful.
</p>]]></description>
      <pubDate>Wed, 18 Apr 2012 12:43:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Nitschinger's Blog: Getting Started with Couchbase and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17656</guid>
      <link>http://www.phpdeveloper.org/news/17656</link>
      <description><![CDATA[<p>
In his most recent blog post <i>Michael Nitschinger</i> <a href="http://nitschinger.at/Getting-Started-with-Couchbase-and-PHP">introduces you to Couchbase</a>, a document-oriented database, and how to use it with PHP.
</p>
<blockquote>
As there were a lot of merges, renamings and releases, it was pretty hard to follow up with the current/best database version and SDK to use for your project. Now as the dust has settled a bit, here's what I've come up with: Couchbase 2.0 will be the next major version and is already pretty stable, so I'll jump straight onto it and skip 1.8. 
</blockquote>
<p>
He recommends using the <a href="https://github.com/couchbaselabs/php-couchbase">php-couchbase</a> libraries or the <a href="https://github.com/couchbaselabs/php-ext-couchbase">php-ext-couchbase extension</a>. He walks you through the whole process of getting Couchbase installed and running and the PHP support installed via the aptitude package manager. A sample script and some basic usage information is also included.
</p>]]></description>
      <pubDate>Mon, 12 Mar 2012 08:35:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Wrangling with the Facebook Graph API]]></title>
      <guid>http://www.phpdeveloper.org/news/17207</guid>
      <link>http://www.phpdeveloper.org/news/17207</link>
      <description><![CDATA[<p>
On the NetTuts.com site today they have a (very complete) guide to help you <a href="http://net.tutsplus.com/tutorials/php/wrangling-with-the-facebook-graph-api/">wrangle the Facebook Graph API</a> and make it useful for your application. It makes use of the official <a href="https://github.com/facebook/php-sdk">Facebook PHP SDK</a> to interface with the Graph API.
</p>
<blockquote>
Have you ever wanted to learn how to make your applications more social with Facebook? It's much easier than you think! In this tutorial, we'll be building an application that reads and publishes data to and from Facebook using Facebook's Graph API.
</blockquote>
<p>
The tutorial helps you get signed up on the Facebook <a href="http://developers.facebook.com/">developer site</a>, create a first sample application, set up the SDK and make a simple page (with an added bonus of using the <a href="http://twitter.github.com/bootstrap/">Twitter Boostrap</a> for look/feed). There's a section covering permissions, what kind of data you can expect publicly for both users and posts. They wrap it up with an example of posting back to Facebook though the API and updating the status on your account. The complete code for the tutorial is also <a href="http://nettuts.s3.amazonaws.com/1097_fbapi/source.zip">available for download</a>.
</p>]]></description>
      <pubDate>Fri, 02 Dec 2011 13:37:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[CloudSpring.com: Using the Rackspace PHP SDK]]></title>
      <guid>http://www.phpdeveloper.org/news/17137</guid>
      <link>http://www.phpdeveloper.org/news/17137</link>
      <description><![CDATA[<p>
On the CloudSpring site today there's the continuation of a <a href="http://http//cloudspring.com/rackspace-cloud-files/">previous article</a> about RackSpace's CloudFiles API. In <a href="http://cloudspring.com/using-the-rackspace-php-sdk/">this new post</a> they show how to use their <a href="https://github.com/rackspace/php-cloudfiles">PHP SDK</a> to connect to and use the CloudFiles service.
</p>
<blockquote>
Rackspace provides a Software Development Kit (SDK) for multiple programming languages. They store their PHP SDK on <a href="https://github.com/rackspace/php-cloudfiles">GitHub</a>. The PHP SDK requires PHP 5 with the following modules: cURL, FileInfo and mbstring. In this tutorial we are going to review use of the PHP SDK with CloudFiles. Not all parts of the API will be covered but you will get a great start.
</blockquote>
<p>
Code is included showing how to make the connection, work with containers, pushing content out to a CDN, object handling and a few other handy tips (and API info) to help you along your way.
</p>]]></description>
      <pubDate>Wed, 16 Nov 2011 12:10:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: Windows Azure SDK for PHP 4 released]]></title>
      <guid>http://www.phpdeveloper.org/news/16651</guid>
      <link>http://www.phpdeveloper.org/news/16651</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post announcing the <a href="http://blog.maartenballiauw.be/post/2011/07/27/Windows-Azure-SDK-for-PHP-4-released.aspx">release of the latest Windows SDK</a> for Azure for PHP, version 4.
</p>
<blockquote>
The Windows Azure SDK 4 contains some significant feature enhancements. For example, it now incorporates a PHP library for accessing Windows Azure storage, a logging component, a session sharing component and clients for both the Windows Azure and SQL Azure Management API's. On top of that, all of these API's are now also available from the command-line both under Windows and Linux. This means you can batch-script a complete datacenter setup including servers, storage, SQL Azure, firewalls, ... If that's not cool, move to the North Pole.
</blockquote>
<p>
He includes a few things from the changelog including service management API support for SQL Azure, package scaffolders and various performance enhancements. You can find out more about the release and the latest on the project on <a href="http://azurephp.interoperabilitybridges.com/">the Microsoft Interoperability website</a>.
</p>]]></description>
      <pubDate>Fri, 29 Jul 2011 09:53:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: A hidden gem in the Windows Azure SDK for PHP: command line parsing]]></title>
      <guid>http://www.phpdeveloper.org/news/16575</guid>
      <link>http://www.phpdeveloper.org/news/16575</link>
      <description><![CDATA[<p>
In <a href="http://blog.maartenballiauw.be/post/2011/07/11/A-hidden-gem-in-the-Windows-Azure-SDK-for-PHP-command-line-parsing.aspx">this new post</a> <i>Maarten Balliauw</i> looks at a "hidden gem" in the Windows Azure SDK for PHP - the ability to create scripts to work with command-line scripts - the Microsoft_Console_Command class.
</p>
<blockquote>
Usually when creating a command line script you would parse $_SERVER['argv'], validate values and check whether required switches are available or not. With the Microsoft_Console_Command class from the <a href="http://download.codeplex.com/Project/Download/SourceControlFileDownload.ashx?ProjectName=phpazure&changeSetId=63811">Windows Azure SDK</a> for PHP, you can ease up this task. Let's compare writing a simple "hello" command.
</blockquote>
<p>
He compares the two sides of making a PHP command-line script: the "ugly way" using normal PHP code and $_SERVER['argv'] and the "easy way" using the Microsoft_Console_Command class that uses a class to define the functionality. There's also methods to grab specific arguments, pull from STDIN and get environment variables.
</p>]]></description>
      <pubDate>Mon, 11 Jul 2011 11:41:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: Scaffolding and packaging a Windows Azure project in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16401</guid>
      <link>http://www.phpdeveloper.org/news/16401</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post to his blog today talking about a new feature they're considering adding to the SDK API - the ability <a href="http://blog.maartenballiauw.be/post/2011/05/30/Scaffolding-and-packaging-a-Windows-Azure-project-in-PHP.aspx">scaffold and package up</a> a PHP application for use on the Windows Azure platform. 
</p>
<blockquote>
With the fresh release of the Windows Azure SDK for PHP v3.0, it's time to have a look at the future. One of the features we're playing with is creating a full-fledged replacement for the current Windows Azure Command-Line tools available. These tools sometimes are a life saver and sometimes a big PITA due to baked-in defaults and lack of customization options. And to overcome that last one, here's what we're thinking of: scaffolders. Basically what we'll be doing is splitting the packaging process into two steps: Scaffolding and Packaging.
</blockquote>
<p>
He goes through their current suggestions of how to set up the scaffold template that would auto-generate everything you need from a command-line call. He also talks about making custom scaffolds (that are, in concept, similar to <a href="http://php.net/phar">phar</a> archives) and gives an example of the simple structure.
</p>]]></description>
      <pubDate>Mon, 30 May 2011 13:11:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: How to Use the Storage Emulator with the Windows Azure SDK for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16221</guid>
      <link>http://www.phpdeveloper.org/news/16221</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Brian Swan</i> shows you how to use the <a href="http://blogs.msdn.com/b/brian_swan/archive/2011/04/19/how-to-use-the-storage-emulator-with-the-windows-azure-sdk-for-php.aspx">Storage Emulator for Azure</a> with PHP via their provided SDK. It's a quick post but it has a helpful code snippet if you've been struggling with getting it set up.
</p>
<blockquote>
This is a short post to address this question: How do I use the local <a href="http://msdn.microsoft.com/en-us/library/gg432983.aspx">Storage Emulator</a> (formerly known as Development Storage) when using the <a href="http://phpazure.codeplex.com/">Windows Azure SDK for PHP</a>? The <a href="http://azurephptools.codeplex.com/releases/view/62345">Windows Azure Command Line Tools for PHP</a> provide an option for running an application locally in the <a href="http://msdn.microsoft.com/en-us/library/gg432968.aspx">Compute Emulator</a>, but I didn't see an option for using the local Storage Emulator.  As it turns out, the answer is very simple, although somewhat difficult to find.
</blockquote>
<p>
The trick is to omit the constructor parameters when creating a new table/blob/client to get it to create things locally instead of on your Azure instance. He also includes a set of links that can help fill in some of the gaps in the whole Windows Azure deployment process.
</p>]]></description>
      <pubDate>Wed, 20 Apr 2011 08:43:53 -0500</pubDate>
    </item>
  </channel>
</rss>
