<?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>Tue, 21 May 2013 06:38:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brandon Savage: Compiling PHP 5.5 From Scratch]]></title>
      <guid>http://www.phpdeveloper.org/news/19587</guid>
      <link>http://www.phpdeveloper.org/news/19587</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has a new post to his site today showing you how to <a href="http://www.brandonsavage.net/compiling-php-5-5-from-scratch/">compile and install PHP 5.5</a>, the next major upcoming release for the language (in RC status as of the time of this post though).
</p>
<blockquote>
There's always a lag behind new releases of PHP and releases of packages for operating systems such as Ubuntu. This lag time means that you could be kept from upgrading to the latest and greatest PHP for a year or more, unless you use an outside repository like Dotdeb. [...] Instead, I roll my own version of PHP. It's simple and easy to do, and something that any developer can do. Here's my instructions for doing so on a fresh Ubuntu installation.
</blockquote>
<p>
He gives a reason or two why you might want to "roll your own" installation and helps you get the environment prepared via some "aptitude" install commands for supporting software. Commands are included for installing needed dependencies, configuring/building PHP and updating Apache to use this new install. He finishes it up with a few smaller things to do like making the php.ini and enabling the Zend opcode caching extension.
</p>
Link: http://www.brandonsavage.net/compiling-php-5-5-from-scratch]]></description>
      <pubDate>Wed, 15 May 2013 09:48:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: What Goes in Source Control?]]></title>
      <guid>http://www.phpdeveloper.org/news/19525</guid>
      <link>http://www.phpdeveloper.org/news/19525</link>
      <description><![CDATA[<p>
As developers, one of the best things you can do for a project is to use version control (or "source control") for your code. <i>Lorna Mitchell</i> suggest using it <a href="http://www.lornajane.net/posts/2013/what-goes-in-source-control">on a wider scale</a>, though. She sees it as a great place for all sorts of other things around a project too.
</p>
<blockquote>
Short answer: everything! However we need some good directory structures and source control configuration to make that a really practical answer, so this article is a quick outline of my usual advice for a good source control structure for a standard web project. The examples are for a PHP project but I'm sure you could apply this to your own language of choice, also.
</blockquote>
<p>
These "other things" she suggests that should end up in source control including things like:
</p>
<ul>
<li>The actual "web root" of your application
<li>Library code
<li>Build scripts
<li>Configuration files
<li>Database patches
<li>Tests (unit, functional, integration, etc)
</lu>
Link: http://www.lornajane.net/posts/2013/what-goes-in-source-control]]></description>
      <pubDate>Tue, 30 Apr 2013 10:31:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Sturgeon: Pick PHP Requirements for Packages Responsibly]]></title>
      <guid>http://www.phpdeveloper.org/news/19359</guid>
      <link>http://www.phpdeveloper.org/news/19359</link>
      <description><![CDATA[<p>
In <a href="http://philsturgeon.co.uk/blog/2013/03/pick-php-requirements-for-packages-responsibly">this recent post</a> to his site <i>Phil Sturgeon</i> has a reminder that you should select the dependencies for your packages wisely, and not just because they're "cool."
</p>
<blockquote>
When I say "make sure it is worth it" I mean, don't just switch your arrays from array() to [] just because it looks cool. That was the extent of my original tweet, because I've seen a few packages doing that and it annoyed me immensely. [...] Suffice it to say, if you require a user to upgrade their version of PHP simply so you can use some syntactical sugar inside a package that nobody else is even going to be looking at, then you're an idiot. Beyond that, you're actually hurting the community.
</blockquote>
<p>
He notes that, by requiring users that are currently only at <a href="http://w3techs.com/technologies/details/pl-php/5/all">3.1% of PHP installs</a> to upgrade to 5.4 just to use your library is a quick way to not have your library used. He points out that PHP 5.4 is "more than just []" for arrays and includes a reminder that several projects are still in PHP 5.3-compatibility mode just because that's the widest audience. He also briefly touches on the "push it forward" comments that people have used to justify 5.4-only packages, but notes that it's still not as much up to the developer as it is the web host.
</p>]]></description>
      <pubDate>Mon, 25 Mar 2013 11:22:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[W3 Techs: PHP version 5.3 is now the most used version, just ahead of 5.2]]></title>
      <guid>http://www.phpdeveloper.org/news/19349</guid>
      <link>http://www.phpdeveloper.org/news/19349</link>
      <description><![CDATA[<p>
According to <a href="http://w3techs.com/blog/entry/php_version_5_3_is_now_the_most_used_version_just_ahead_of_5_2">this new report</a> on the W3 Techs site, the usage of PHP 5.2 has been passed up by the numbers for the usage of PHP 5.3 (finally).
</p>
<blockquote>
<a href="http://w3techs.com/technologies/history_details/pl-php/5/q">PHP 5.3</a> has been released in June 2009, so it took a while to gain that level of popularity. <a href="http://www.php.net/archive/2010.php#id2010-12-16-1">End of support for PHP 5.2</a> has been declared in December 2010, but is was still the most popular version until now. Version 5.3 will enter the <a href="http://php.net/archive/2012.php#id2012-12-20-1">end-of-life cycle</a> in March 2013. Version 5.4, used by only 3.0%, is now considered state-of-the-art.
</blockquote>
<p>
The numbers have been consistently trending towards intersection with the usage of PHP 5.4 picking up, but no where near the 5.3 and 5.2 numbers. They also point out that PHP version adoption has a history of being slow. Contributing factors to this could be the overall impression of the language and how much "room for improvement" it seems to have.
</p>
<blockquote>
It's not difficult to predict that PHP as a language will continue to dominate web development in the near future. What will be more exciting is to watch what new versions of PHP will look like.
</blockquote>]]></description>
      <pubDate>Fri, 22 Mar 2013 09:10:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Aaron McGowan: Finally generators exist as of PHP 5.5]]></title>
      <guid>http://www.phpdeveloper.org/news/19053</guid>
      <link>http://www.phpdeveloper.org/news/19053</link>
      <description><![CDATA[<p>
In <a href="http://www.amcgowan.ca/articles/software-development/php/finally-generators-exist-as-of-php-5-5">this new post</a> to his site <i>Aaron McGowan</i> talks about new features of the upcoming PHP 5.5 release - the "finally" keyword and generators.
</p>
<blockquote>
PHP 5.5 has recently been released as an ALPHA release, meaning there are still bugs, code is being tested and features being added. With the 5.5 release, many of us PHP developers have a few wonderful new features that we should be taking advantage of almost immediately.
</blockquote>
<p>
He gives brief introductions to these two new features, including some code examples (but getting a bit more into the generators side of things). You can find out more about these two features and how to implement them when PHP 5.5 comes around from the PHP sitel: <a href="http://us2.php.net/generators">generators</a> and <a href="https://wiki.php.net/rfc/finally">finally</a> (actually from the PHP wiki).
</p>]]></description>
      <pubDate>Thu, 17 Jan 2013 12:37:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP, Episode 31 - The Urge to Kill Older PHP Versions]]></title>
      <guid>http://www.phpdeveloper.org/news/19033</guid>
      <link>http://www.phpdeveloper.org/news/19033</link>
      <description><![CDATA[<p>
PHPClasses.org has <a href="http://www.phpclasses.org/blog/post/198-The-Urge-to-Kill-Older-PHP-Versions--Lately-in-PHP-podcast-episode-31.html">released their latest episode</a> of their "Lately in PHP" podcast series. This episode (#31) talks some about some of the changes happening in versions in PHP in the upcoming months.
</p>
<blockquote>
As PHP 5.5 is getting ready to be released in the next months, the end of line for PHP 5.3 is being planned, while the original MySQL extension is being deprecated in PHP 5.5 to be killed in a later version.
</blockquote>
<p>
You can listen to this latest episode either through the <a href="http://www.phpclasses.org/blog/post/198-The-Urge-to-Kill-Older-PHP-Versions--Lately-in-PHP-podcast-episode-31.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/198/file/158/name/Lately-In-PHP-31.mp3">downloading the mp3</a> or you can <a href="http://youtu.be/0DNpcozTbUk">watch the video</a> of the recorded Google Hangout of the taping.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2013 10:58:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Town Hall Podcast: Episode #2 - Talk about PHP 5.5]]></title>
      <guid>http://www.phpdeveloper.org/news/18856</guid>
      <link>http://www.phpdeveloper.org/news/18856</link>
      <description><![CDATA[<p>
The latest episode of the PHP Town Hall podcast has been release - <a href="http://phptownhall.com/blog/2012/12/04/episode-2-php-5.5/">Episode #2</a>, "a Node Hipster, Beardy Python Fan, PHP Contributor and a Bristolian Talk About PHP 5.5"
</p>
<blockquote>
We're back for an "IRL" episode, with <a href="https://twitter.com/zackkitzmiller">Zack Kitzmiller</a>, <a href="https://twitter.com/seejohncode">John Crepezzi</a> and <a href="https://twitter.com/ircmaxell">Anthony Ferrera</a>, discussing PHP 5.5 and the new features it will bring.
</blockquote>
<p>
You can listen to this latest episode through the <a href="http://phptownhall.com/blog/2012/12/04/episode-2-php-5.5/">in-page player</a>, by <a href="http://s3.amazonaws.com/phptownhall/2.mp3">downloading the mp3</a> or by <a href="http://phptownhall.com/atom.xml">subscribing to their feed</a> to get the latest as they're released.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2012 13:57:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans: Connection Handling with the MongoDB PHP driver]]></title>
      <guid>http://www.phpdeveloper.org/news/18839</guid>
      <link>http://www.phpdeveloper.org/news/18839</link>
      <description><![CDATA[<p>
Continuing on with his look at the newly released version of the MongoDB driver for PHP <i>Derick Rethans</i> has <a href="http://derickrethans.nl/mongodb-connection-handling.html">posted more detail</a> about the advanced connection handling options this new driver version provides.
</p>
<blockquote>
The 1.3 release series of the PHP <a href="http://mongodb.org/">MongoDB</a> driver features a rewritten connection handling library. This is quite a large change and changes how the PHP driver deals with persistent connections and connection pooling.
</blockquote>
<p>
He starts with an example of a v1.2 driver connection, how the connection is requested from a pool and how, based on the integration of a worker into the connection process, v1.3 handles the connection requests. He includes a bit about replica set connections and authentication connections, complete with PHP code examples showing them in practice.
</p>]]></description>
      <pubDate>Tue, 04 Dec 2012 10:54:15 -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[Sherif Ramadan: Test Drive PHP 5.5: A Sneak Peek]]></title>
      <guid>http://www.phpdeveloper.org/news/18641</guid>
      <link>http://www.phpdeveloper.org/news/18641</link>
      <description><![CDATA[<p>
<i>Sherif Ramadan</i> has a new post that gets into some good detail about what you can expect in the <a href="http://sheriframadan.com/2012/10/test-drive-php-5-5-a-sneak-peak/">upcoming PHP 5.5 release</a> with loads of new features.
</p>
<blockquote>
There's been some talk about PHP 5.5.0 over the past couple of months even though it is barely on the horizon. The reason for this is that the PHP project has seen some increased levels of activity over the last two years since the dawn of PHP 5.4 and now in to the early twilight phase of PHP 5.5.0-dev. For those of you that haven't been following the internals mailing list I'm about to give you a quick test-drive and sneak-peak at PHP 5.5 using the latest 5.5.0-dev branch (which is still TBD).
</blockquote>
<p>
Obviously, since the actual release of this version has yet to be determined, some of this may change over time. He gets into some of the major advancements and features that will be included like:
</p>
<ul>
<li>the "finally" keyword
<li>list() support in foreach()
<li>the Password Hashing API
<li>generators
<li>a new property accessor syntax
<li>scalar type hints
</ul>
<p>
Code samples are provided in some places to help make a bit more sense out of the example.
</p>]]></description>
      <pubDate>Mon, 22 Oct 2012 12:09:02 -0500</pubDate>
    </item>
  </channel>
</rss>
