<?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 18:35:27 -0500</pubDate>
    <ttl>30</ttl>
    <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[Lorna Mitchell's Blog: PHP OAuth Provider: Initial Requirements]]></title>
      <guid>http://www.phpdeveloper.org/news/16319</guid>
      <link>http://www.phpdeveloper.org/news/16319</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has a quick post related to some of the OAuth work she's done on both sides, consumer and provider. <a href="http://www.lornajane.net/posts/2011/PHP-OAuth-Provider-Initial-Requirements">This latest post</a> relates to the OAuth pages and endpoints that are needed as a part of the authentication process.
</p>
<blockquote>
This article uses the <a href="http://pecl.php.net/oauth">pecl_oauth extension</a> and builds on <a href="http://toys.lerdorf.com/archives/55-Writing-an-OAuth-Provider-Service.html">Rasmus' OAuth Provider</a> post. [...] OAuth has a little more baggage with it than just passing a username and password to an API. 
</blockquote>
<p>
She lists the five things you'll need for your service and talks a bit about the registration process and how the consumer key/consumer secret keys are generated. There's no strict definition on them, so her example uses a combination of <a href="http://php.net/sha1">sha1</a>, <a href="http://php.net/mt_rand">mt_rand</a> and <a href="http://php.net/substr">substr</a> to get the job done. She also includes a sample "consumers" table for your reference.
</p>]]></description>
      <pubDate>Tue, 10 May 2011 10:04:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Simas Toleikis's Blog: Idea for a PHP Validator]]></title>
      <guid>http://www.phpdeveloper.org/news/15254</guid>
      <link>http://www.phpdeveloper.org/news/15254</link>
      <description><![CDATA[<p>
<i>Simas Toleikis</i> has posted <a href="http://simas.posterous.com/idea-for-a-php-validator">an interesting idea for a validator</a> that would look at the incoming source of an application/script and determine what the requirements for it might be.
</p>
<blockquote>
How about creating a PHP code validator? Got this idea by looking at <a href="http://php.net/tokenizer">tokenizer</a> and <a href="http://php.net/reflection">reflection</a> extensions. I doubt I will find the time to work on this myself but then someone else might be interested to pick it up. From user's point of view there will be a form made of a large textarea box and a single file upload input. One could paste code snippet on that textarea or upload a ZIP'ed source code archive (or a single .php file) for validation.
</blockquote>
<p>
His proposed result would show a list of "Required Extensions", PHP versions, E_STRICT compatibility and possibly total lines of code in the project. He points out a few issues that might pop up in writing such a tool such as the requirement for it to be able to use the tokenizer extension itself (a sort of catch-22 since it's not always installed).
</p>]]></description>
      <pubDate>Fri, 08 Oct 2010 13:48:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBuildings Blog: 137 CMS Systems]]></title>
      <guid>http://www.phpdeveloper.org/news/13700</guid>
      <link>http://www.phpdeveloper.org/news/13700</link>
      <description><![CDATA[<p>
In <a href="http://www.ibuildings.co.uk/blog/archives/1581-137-CMS-Systems.html">this new post</a> from the IBuildings blog today <i>Ivo Jansch</i> looks at content management systems and how you can start to find that right fit for your and your company/organization.
</p>
<blockquote>
At the moment, Wikipedia's <a href="http://en.wikipedia.org/wiki/List_of_Content_Management_Systems">list of content management systems</a> features 137 unique CMS products. 59 of these are written in PHP. And that's only the ones that Wikipedia finds 'notable', which means these are the ones that have significant usage or large enough communities to be mentioned. [...] The sheer size of the CMS market is interesting when you consider that one of the most frequent questions we get at Ibuildings is: "What CMS do you recommend we use?"
</blockquote>
<p>
In an experiment in his recent talk (at the <a href="http://www.online-information.co.uk/online09/ims.html">IMS conference</a>) he asked the audience which car he should purchase from his list of four. Of course, their answers were wrong because of one fact - no one asked about his requirements. 
</p>
<p>
This is a definite first step to anyone looking for a CMS to fit their needs (or really any kind of software). He also mentions other criteria to consider like cost of ownership, technology required, features and functional requirements. 
</p>]]></description>
      <pubDate>Fri, 18 Dec 2009 11:07:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Fabien Potencier's Blog: Do you need a Dependency Injection Container?]]></title>
      <guid>http://www.phpdeveloper.org/news/12234</guid>
      <link>http://www.phpdeveloper.org/news/12234</link>
      <description><![CDATA[<p>
Following up on the <a href="http://www.phpdeveloper.org/news/12224">previous part</a> of his dependency injection series (the first part), <i>Fabien Potencier</i> has come back with <a href="http://fabien.potencier.org/article/12/do-you-need-a-dependency-injection-container">this second look</a> at the development technique asking if you really need a dependency injection container in your scripts.
</p>
<blockquote>
In the <a href="http://fabien.potencier.org/article/11/what-is-dependency-injection">first installment</a> of this series on Dependency Injection, I have tried to give concrete web examples of Dependency Injection in action. Today, I will talk about Dependency Injection Containers. First, let's start with a bold statement: Most of the time, you don't need a Dependency Injection Container to benefit from Dependency Injection.
</blockquote>
<p>
A dependency injection container is a wrapper around classes/libraries that need certain types of objects and settings to make them work correctly. This wrapper gathers together the information the object inside needs automatically without the user of the library having to worry they've missed something. Several code examples are included showing an application both with and without the container.
</p>]]></description>
      <pubDate>Mon, 30 Mar 2009 11:13:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: PEAR2 standards, we would like to know what you think]]></title>
      <guid>http://www.phpdeveloper.org/news/8202</guid>
      <link>http://www.phpdeveloper.org/news/8202</link>
      <description><![CDATA[<p>
On the PEAR blog today, they're <a href="http://blog.pear.php.net/2007/07/08/pear2-standards-we-would-like-to-know-what-you-think/">asking for thoughts</a> on some of the standards for the coming PEAR2 development environment:
</p>
<blockquote>
Please read the following document and post your comments on the wiki using the discussion page. Comments are opened for a period of two weeks. It is very important that you comment as these standards will define PEAR2.
</blockquote>
<p>
The standards <a href="http://wiki.pear.php.net/index.php/PEAR2_Standards">can be found here</a> and include everything from the base requirements and package approach down to specific package-related rules (for things like directory structure, class-to-file conventions and handling dependencies).
</p>]]></description>
      <pubDate>Mon, 09 Jul 2007 11:12:00 -0500</pubDate>
    </item>
  </channel>
</rss>
