<?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>Thu, 23 May 2013 00:10:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lukas Smith: What is needed to REST in Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/19550</guid>
      <link>http://www.phpdeveloper.org/news/19550</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> has a new post to his site that asks the question "<a href="http://pooteeweet.org/blog/2221">what's needed to REST in Symfony 2?</a>" In it he talks about some of the current issues surrounding REST support in Symfony (bundles) and a "call to arms" to create something better.
</p>
<blockquote>
I think we already have quite a nice toolchain for REST in Symfony2 with Bundles like <a href="https://github.com/friendsOfSymfony/FOSRestBundle">FOSRestBundle</a>, <a href="http://github.com/schmittjoh/JMSSerializerBundle">JMSSerializerBundle</a>, <a href="https://github.com/nelmio/NelmioApiDocBundle">NelmioApiDocBundle</a>, <a href="https://github.com/TheFootballSocialClub/FSCHateoasBundle">FSCHateoasBundle</a> and <a href="https://github.com/hautelook/TemplatedUriBundle">HautelookTemplatedUriBundle</a>. What is great about these Bundles is that they are all nicely integrated with each other. But there are still some limitations which should be addressed.
</blockquote>
<p>
Some of the still outstanding issues he points out include issues with content-type and routing, dynamic content in the NelmioApi bundle, Behat context testing, JSONP support and more. He suggests gathering together a product backlog of these items and possibly making a kickstarter to fund its development.
</p>
Link: http://pooteeweet.org/blog/2221]]></description>
      <pubDate>Mon, 06 May 2013 10:24:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Fabien Potencier: About Symfony: Stability over Features]]></title>
      <guid>http://www.phpdeveloper.org/news/19460</guid>
      <link>http://www.phpdeveloper.org/news/19460</link>
      <description><![CDATA[<p>
<i>Fabien Potencier</i> (of the Symfony framework) has a new post to his site talking about a philosophy that the Symfony framework community should work towards, <a href="http://fabien.potencier.org/article/68/about-symfony-stability-over-features">providing stability over features</a>.
</p>
<blockquote>
Long story short: in the coming months, the Symfony core contributors should focus their efforts toward stabilizing the existing features instead of working on new ones. At this point, backward compatibility and stability are more important than everything else.
</blockquote>
<p>
He highlights some of the points that come along with this effort including less refactoring for the sake of refactoring, fixing more bugs/edge cases and writing more tests/documentation. He gets into some of the specifics of this kind of thinking and points out the things that can and can't be changed during this time. He talks more about stability and suggests that not only can it help enhance performance but it could also help motivate more projects/corporate users to start using the framework.
</p>
Link: http://fabien.potencier.org/article/68/about-symfony-stability-over-features]]></description>
      <pubDate>Mon, 15 Apr 2013 10:12:34 -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[WebDevRadio: Episode 108: New Ruby, Regex and my Framework Security Rant(tm)]]></title>
      <guid>http://www.phpdeveloper.org/news/19244</guid>
      <link>http://www.phpdeveloper.org/news/19244</link>
      <description><![CDATA[<p>
<i>Michael Kimsal</i> has just released the <a href="http://webdevradio.com/2013/02/episode-108-new-ruby-regex-and-my-framework-security-ranttm/">latest episode</a> of his WebDevRadio podcast series, Episode 108: "New Ruby, Regex and my Framework Security Rant(tm)". His framwork security comments are related to PHP frameworks and why almost none of them seem to come with security features already included.
</p>
<blockquote>
Ruby 2 was just released, and the new 'refinements' feature presents some interesting challenges for JRuby and just about anyone wanting to read Ruby code.  Brief chat about the regex security affecting Rails back in January, but more broadly speaking, what does this say about regex in general?  Should we embrace it, or find better alternatives?  Finally, I've got a new blog post up about web framework security - why do (almost) no web frameworks ship with security baked-in?
</blockquote>
<p>
The podcast references some of the thoughts from <a href="http://michaelkimsal.com/blog/why-do-no-almost-no-web-frameworks-come-with-any-authenticationauthorization-functionality/">his recent post</a> about framework security. You can listen to this latest episode either through the <a href="http://webdevradio.com/2013/02/episode-108-new-ruby-regex-and-my-framework-security-ranttm/">in-page player</a> or by <a href="http://media.blubrry.com/webdevradio/p/webdevradio.com/wp-content/uploads/2013/02/wdr_108.mp3">downloading the mp3</a>.
</p>]]></description>
      <pubDate>Wed, 27 Feb 2013 09:59:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lars Strojny: Functional programming in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19055</guid>
      <link>http://www.phpdeveloper.org/news/19055</link>
      <description><![CDATA[<p>
<i>Lars Strojny</i> has <a href="http://usrportage.de/archives/941-Functional-programming-in-PHP.html">a new post</a> that takes an in-depth look at the current state of <a href="http://en.wikipedia.org/wiki/Functional_programming">functional programming</a> in PHP:
</p>
<blockquote>
PHP has traditionally been a simple, procedural language that took a lot of inspiration from C and Perl. Both syntax wise and making sure function signatures are as convoluted as possible. PHP 5.0 introduced a proper object model but you know all of that already. PHP 5.3 introduced closures and PHP 5.4 improved closures very much (hint: $this is available per default).
</blockquote>
<p>
He starts by defining functional programming for those not familiar with the concept. With this understanding, he looks at what PHP has to offer that will help make this definition a reality, things like <a href="http://php.net/call_user_func_array">call_user_func_array</a> and <a href="http://php.net/closures">closures</a>. He includes some code examples comparing the PHP structures to other languages and their features (like Haskell and Ruby). The post also gets a bit more practical with a "real world" example of a script that calculates the totals from the set of items in a shopping cart using a <a href="https://github.com/lstrojny/functional-php">helper library</a> to do some of the basic functional handling.
</p>]]></description>
      <pubDate>Thu, 17 Jan 2013 14:21:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.5.0 Alpha3 released]]></title>
      <guid>http://www.phpdeveloper.org/news/19025</guid>
      <link>http://www.phpdeveloper.org/news/19025</link>
      <description><![CDATA[<p>
PHP.net has <a href="http://php.net/index.php#id2013-01-10-1">announced the release of PHP 5.5 alpha3</a>, the latest alpha in this upcoming release. This is only a preview release and should not be considered (in any way, shape or form) as usable in production.
</p>
<blockquote>
The PHP development team announces the release of PHP 5.5.0alpha3. This release adds few features and fix some bugs from alpha2. All users of PHP are encouraged to test this version carefully, and report any bugs in the <a href="https://bugs.php.net/">bug tracking system</a>.
</blockquote>
<p>
There's a few new things that have come with this update including the "Generator::throw()" method, a few additional cURL methods, Max-Age attribute support in setcookie and some bugfixes in mysqlnd and the PHP core code (see <a href="https://github.com/php/php-src/blob/php-5.5.0alpha3/NEWS">here</a> for the full list). Please <a href="http://downloads.php.net/dsp">download</a> this latest alpha and test it out in your application. Windows binaries <a href="http://windows.php.net/qa/">are here</a>.
</p>]]></description>
      <pubDate>Fri, 11 Jan 2013 11:53:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: What's New in Laravel 4]]></title>
      <guid>http://www.phpdeveloper.org/news/19002</guid>
      <link>http://www.phpdeveloper.org/news/19002</link>
      <description><![CDATA[<p>
In <a href="http://phpmaster.com/whats-new-in-laravel-4/">this new post</a> to PHPMaster.com today <i>Alexander Cogneau</i> takes a look at what's different in version four (v4) of the <a href="http://laravel.com">Laravel</a> framework as it has changed from version three.
</p>
<blockquote>
Laravel is a PHP framework which uses the MVC pattern. Of course, there are many such projects and I'm not going to compare Laravel with other frameworks in this article. Instead, I'm going to share with you what's new in the newest version of Laravel - Laravel 4.
</blockquote>
<p>There's a list of things that have changed (each with a summary of what they are):</p>
<ul>
<li>Decoupled Components
<li>Creating a "Normal" Project
<li>Routes
<li>Better Code through Testing
<li>The Container and Its Bindings
<li>Improved CLI
<li>New Database Features
<li>Using Stand-Alone Components
</ul>]]></description>
      <pubDate>Mon, 07 Jan 2013 13:25:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: What to Expect From PHP 5.5]]></title>
      <guid>http://www.phpdeveloper.org/news/18910</guid>
      <link>http://www.phpdeveloper.org/news/18910</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a new article from <i>Gabriel Manricks</i> looking in to the future of the PHP language at <a href="http://net.tutsplus.com/tutorials/php/what-to-expect-from-php-5-5/">what's slated to be included in PHP 5.5.</a>, the next major release.
</p>
<blockquote>
The first PHP 5.5 alpha has been publicly released. After having some time to test and experiment with it, we can now bring you our in-depth overview of what to look forward for!
</blockquote>
<p>
He walks you through the installation (compiling, not via packages) of this latest release once you've <a href="http://us1.php.net/downloads.php">downloaded it</a>. He then goes down the list of features, some of which are pretty recent additions to the planned release including: generators, lists in foreach, the new password API, cURL updates (SMTP) and a few smaller updates.
</p>]]></description>
      <pubDate>Tue, 18 Dec 2012 11:48:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Namespacing in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18545</guid>
      <link>http://www.phpdeveloper.org/news/18545</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a new tutorial introducing you to <a href="http://net.tutsplus.com/tutorials/php/namespacing-in-php-2/">namespaces in PHP</a> and a complete guide to the features that come with them.
</p>
<blockquote>
It's been a bumpy ride, in regards to namespace support in PHP. Thankfully, it was added to the language in PHP 5.3, and the applicable structure of PHP code has improved greatly since then. But how exactly do we use them?
</blockquote>
<p>
They start with a definition of a namespace (for those unfamiliar with the term) and get right into the code showing their use in PHP:
</p>
<ul>
<li>Defining a Namespace (and Sub-namespaces)
<li>Calling Code from a Namespace (using Unqualified/Qualified/Fully Qualified names)
<li>Dynamic calls
<li>The namespace Keyword
<li>Aliasing or Importing
</ul>]]></description>
      <pubDate>Tue, 02 Oct 2012 13:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: Can We Revive php.net User Notes Or Kill It?]]></title>
      <guid>http://www.phpdeveloper.org/news/18475</guid>
      <link>http://www.phpdeveloper.org/news/18475</link>
      <description><![CDATA[<p>
In <a href="http://www.reddit.com/r/PHP/comments/zixee/can_we_revive_phpnet_user_notes_or_kill_it/">this discussion on Reddit</a>, there's talk about the user comments feature on the <a href="http://php.net">PHP.net</a> site and the value they provide to the language and community.
</p>
<blockquote>
The question, however, has always been "how useful is this feature really and does it bring more harm than good?". It's not that easy to answer since there are so many notes submitted by a wide range of users and some will likely go unnoticed while others seem to get undue attention due to their positioning near the top of the user-notes section of a particularly trafficked page.
</blockquote>
<p>
The poster proposes a few things that could help make them a bit more effective (and useful overall) including voting on the note contents, flagging potential issues and sorting the notes based on popularity/age. He's put together a proof of concept <a href="http://php.sheriframadan.com/manual/en/function.strtotime.php#109929">as seen here</a> with some of the new features. 
</p>]]></description>
      <pubDate>Thu, 13 Sep 2012 12:56:44 -0500</pubDate>
    </item>
  </channel>
</rss>
