<?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, 20 Jun 2013 00:41:09 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney: On PHP-FIG]]></title>
      <guid>http://www.phpdeveloper.org/news/19250</guid>
      <link>http://www.phpdeveloper.org/news/19250</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has a new post to his site today covering the <a href="http://www.mwop.net/blog/2013-02-27-resigned-from-php-fig.html">reasons he left the PHP-FIG</a>, the PHP Framework Interoperability Group that was designed to help unify the framework (and PHP) communities with common goals and structure. He talks some about his reasons for leaving and what he hopes the group will, eventually, become.
</p>
<blockquote>
I had high hopes for the group. It was the culmination of something I've been ruminating on for almost a decade (<a href="http://www.mwop.net/blog/12-PHP-standards-ruminations.html">see post number 12 on my blog, dated to January 2004, for proof</a>). My thoughts have mainly been around coding standards and best practices, helping educate developers around their benefits, and how to leverage both in order to create maintainable code.
</blockquote>
<p>
He talks about some of the things he sees as shortfalls of the group including the definition of some of the standards (and interface structure), the current thoughts of changing of said standards and some of the "discussion" that happens in the group via the mailing lists and pull requests. He mentions that there were several times that the same discussions would happen all over again, despite people saying it had, and is tired of it.
</p>
<blockquote>
I have better things to do with my time, things I want to create, software I want to support, hobbies and interests I want to pursue. Debating brace placement, tabs vs spaces (for the umpteenth time), or whether or not annotations have a place in programming in a dynamic language? Not so much.
</blockquote>]]></description>
      <pubDate>Thu, 28 Feb 2013 10:45:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[P&aacute;draic Brady: PHP Security, Authorative Knowledge and Combining Forces]]></title>
      <guid>http://www.phpdeveloper.org/news/18444</guid>
      <link>http://www.phpdeveloper.org/news/18444</link>
      <description><![CDATA[<p>
In <a href="http://blog.astrumfutura.com/2012/09/php-security-authorative-knowledge-and-combining-forces/">this new post</a> to his blog <i>P&aacute;draic Brady</i> has proposed a "combining of forces" in the PHP community centered around promoting best practices in the security of PHP applications.
</p>
<blockquote>
 Once you start to dig around PHP Security in earnest, you begin to notice trends and patterns in how programmers behave and accumulate knowledge. The most obvious feature of PHP culture is that we do not have an active "leadership" in security. There is no appeal to authority in PHP security debates, only personal opinions informed by a nebulous entity called "They". There are individuals that I have learned to trust and that's about as far as we can go. [...] In the PHP community, the Authorative Knowedge for PHP Security is derived from a concensus. A concensus based on published articles, the practices of libraries and frameworks, printed books, and the vague meandering thoughts of whoever you follow on Twitter. In other words, our current Authorative Knowledge is you.
</blockquote>
<p>
He notes that this "everyman security expert" hasn't proven to be the best method for increasing the overall security awareness of PHP developers, so he's proposing something different: the "PHP Security Technical Group (SECTG)". 
</p>
<blockquote>
It's a group of members who share a common interest in sharing information, performing research, publishing articles/newsletters, and generally taking advantage of resource pooling without giving up their individual interests - all towards accomplishing some common goal, i.e. creating or emphasising new Authorative Knowledge. The phrase "Unofficial" is implicit in the group name - this is not an official PHP entity.
</blockquote>
<p>
If you're interesting in joining in on the cause, you can <a href="https://groups.google.com/forum/#!forum/sectg">sign up for the mailing list</a> and get more information as it comes.
</p>]]></description>
      <pubDate>Tue, 04 Sep 2012 14:55:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP-FIG Group Launches Site & FAQ]]></title>
      <guid>http://www.phpdeveloper.org/news/18179</guid>
      <link>http://www.phpdeveloper.org/news/18179</link>
      <description><![CDATA[<p>
To help resolve issues that have come up around its formation and to keep too much FUD (fear, uncertainty and doubt) from spreading, the "PHP-FIG" (framework interoperability group) has <a href="http://www.php-fig.org/faq/">put together a site</a> and a FAQ describing what they're all about.
</p>
<blockquote>
The FIG stands for Framework Interoperability Group. The name until recently was "PHP Standards Group" but this was somewhat inaccurate of the intentions of the group. [...] The idea behind the group is for project representatives to talk about the commonalities between our projects and find ways we can work together. Our main audience is each other, but we're very aware that the rest of the PHP community is watching. 
</blockquote>
<p>
The FAQ answers other questions about the standards the group has agreed on (passed) so far, who the members of the group are, how to get involved and how framework communities can get involved.
</p>]]></description>
      <pubDate>Wed, 04 Jul 2012 20:25:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[P&aacute;draic Brady's Blog: The Framework Interoperability Group (FIG)]]></title>
      <guid>http://www.phpdeveloper.org/news/18035</guid>
      <link>http://www.phpdeveloper.org/news/18035</link>
      <description><![CDATA[<p>
In a new post to his blog <i>P&aacute;draic Brady</i> <a href="http://blog.astrumfutura.com/2012/06/the-framework-interoperability-group-fig-openness-accountability-and-community-involvement-in-php-standards/">gives his take</a> on the PHP-FIG (Framework Interoperability Group) and some of the decisions they've been making on PHP coding standards.
</p>
<blockquote>
Anthony, whose views always make good reading, raises concerns about the way in which this group generates standards. He contrasts the current approach to <a href="http://www.ietf.org/about/standards-process.html">RFC 2026 which defines the IETF's Internet Standards Process</a>.  [...] Where Anthony's arguments seemingly fall flat is that the FIG is not the IETF. The Framework Interoperability Group was founded to allow cooperating members to develop shared standards. It does not claim to be PHP's standards body and so there is no obligation for any PHP programmer to adopt their standards (unless they work on a member project obviously!).
</blockquote>
<p>
He points out that the standards group's process has been slowly opening more and more ("by inches") and that the group, while made of up individuals, is more than just a collection of people - it's representatives for well-known Open Source projects.
</p>
<blockquote>
In other words, the FIG is actually something really really good for PHP. PHP needs standards so we can make interoperability between various frameworks and applications a true reality. The hodgepodge of APIs and standards we've relied on to this point only serve to reinforce PHP's NIH obsession. [...] What the FIG should do, in my opinion, is clearly define its purpose and better document its bylaws/processes. [...] It really all comes down to better communication and pushing the community engage with the FIG.
</blockquote>]]></description>
      <pubDate>Fri, 01 Jun 2012 10:49:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: PHP Coding Standards]]></title>
      <guid>http://www.phpdeveloper.org/news/18011</guid>
      <link>http://www.phpdeveloper.org/news/18011</link>
      <description><![CDATA[<p>
<i>Brian Moon</i> has shared some of his thoughts <a href="http://brian.moonspot.net/php-coding-standards">about the recently proposed standards</a> (PSRs) from the PHP-FIG group based on some discussions had at this year's <a href="http://tek.phparch.com">php|tek</a>. 
</p>
<blockquote>
During the /dev/hell podcast at Tek12, someone asked the guys their opinion about PSR. [...] The person asking the question had asked about PSR1 and PSR2. These are the first two standards proposals in the group and they deal with coding standards. [...] There are already coding standards for PHP and any other language out there. Why does anyone need to make a new one? [...] This reminds me a lot of <a href="http://opensource.org/licenses/alphabetical">Open Source licenses</a>. There are tons of these things. And in the end, most (GPL has its issues I know) of the open source licenses represent the same idea.
</blockquote>
<p>
He goes on to talk more about the feedback he's gotten from other PHP community members about the target of the group and his thoughts on the naming of both the group and the standards they're generating. 
</p>
<blockquote>
In the end, cooperation is good. And if these guys want to cooperate I say more power to them. I just hope they get into really good things soon. Like, can we talk about a maximum number of files, functions or classes used for any one single page execution? *That* would be valuable to the PHP community.
</blockquote>]]></description>
      <pubDate>Mon, 28 May 2012 17:12:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Drafts of PSR-1 (and prelim PSR-2)]]></title>
      <guid>http://www.phpdeveloper.org/news/17949</guid>
      <link>http://www.phpdeveloper.org/news/17949</link>
      <description><![CDATA[<p>
In the wake of the success of the <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md">PSR-0 standard</a> (used in autoloading structures across frameworks and various applications), the PHP-FIG (Framework Interoperability Group) has start on drafts of other standards to help provide some guidelines to standardize PHP development across projects.
</p>
<p>
Among the group, <i>Paul Jones</i> has been <a href="https://github.com/pmjones/fig-standards/tree/psr-1-style-guide/proposed">writing serveral proposals</a> under the PSR-1 standard banner that include:
</p>
<ul>
<li>The <a href="https://github.com/pmjones/fig-standards/blob/psr-1-style-guide/proposed/PSR-1-basic.md">basic draft of the standard</a>
<li>An <a href="https://github.com/pmjones/fig-standards/blob/psr-1-style-guide/proposed/PSR-1.md">extended draft</a> of the same
<li>A <a href="https://github.com/pmjones/fig-standards/blob/psr-1-style-guide/proposed/PSR-2-advanced.md">more advanced version, PSR-2</a> that also includes some survey results on various syntax elements.
</ul>
<p>
If you want to know more about the PHP-FIG group, you should <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">listen to this excellent panel interview</a> of the group from the Voices of the ElePHPant podcast. <i>Paul</i> and others get into the point of the group and how the standards are progressing.
</p>]]></description>
      <pubDate>Fri, 11 May 2012 13:17:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Creating a Custom ACL in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17946</guid>
      <link>http://www.phpdeveloper.org/news/17946</link>
      <description><![CDATA[<p>
On Developer.com there's a recent tutorial showing you how to <a href="http://www.developer.com/lang/php/creating-a-custom-acl-in-php.html">create a basic access control list</a> in PHP (not in any specific framework). It allows you to define not only user permissions but groups and group permissions as well.
</p>
<blockquote>
So, what are the advantages of an ACL model? The first advantage is security. Using this model will make your application more secure and less vulnerable to exploits. When securing any program, it is good to give to the user only the privileges he/she needs. That means that, for example, you should not give super administrator privileges to someone who will only manage website content. The ACL security model allows you to do just that. The second advantage is the easiness of user management. You can divide users into groups, while each group has certain access permissions. Also, you can easily add new user groups, delete the old ones or change group permissions.
</blockquote>
<p>
They include the database structure you'll need to make the backend work (four tables) and the code to create an "Acl" class with methods to check a user+group for a permission, get the permissions for a user and get the permissions for a group. It's a pretty simple system and has a lot more that could be added to it to make it more robust, but it's a good start.
</p>]]></description>
      <pubDate>Fri, 11 May 2012 10:53:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Voices of the ElePHPant Podcast: FIG, FUD & FOMO]]></title>
      <guid>http://www.phpdeveloper.org/news/17893</guid>
      <link>http://www.phpdeveloper.org/news/17893</link>
      <description><![CDATA[<p>
On the Voices of the ElePHPant podcast, the latest episode has been released - <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">FIG, PUD & FOMO</a>, a discussion with members of the PHP Standards Group: <i>Matthew Weier O'Phinney</i>, <i>Jeremy Lindblom</i> and <i>Paul Jones</i>.
</p>
<p>
<i>Cal</i>'s questions center around the Standards group and what kinds of discussions they have about the language and the progress the group has made so far (like PSR-0):
<ul>
<li>What's the purpose of the group?
<li>Is the purpose of this group to take PHP from everyone's hands and enforce the "one true grace" on everyone?
<li>Is the group fulfilling its purpose or is it wandering off the path?
</ul>
<p>
You can listen to this latest episode either via the <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">in-page player</a>, by <a href="http://voices.of.the.elephpant.s3.amazonaws.com/vote_050.mp3">downloading the mp3</a> or <a href="http://voicesoftheelephpant.com/feed/podcast/">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Tue, 01 May 2012 14:01:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Purcell's Blog: PHPUnit - How to Run PHPUnit Against a Specific Test]]></title>
      <guid>http://www.phpdeveloper.org/news/17476</guid>
      <link>http://www.phpdeveloper.org/news/17476</link>
      <description><![CDATA[<p>
<i>Mike Purcell</i> has a quick new post to his blog showing how you can <a href="http://melikedev.com/2012/01/30/phpunit-how-to-run-phpunit-against-a-specific-test/">run PHPUnit on one specific test</a> using handy grouping functionality already built into the tool.
</p>
<blockquote>
The other day I was debugging an error in one of my unit tests, and found it hard to track down because when I ran PHPUnit, it ran all the tests contained in the file where my problem unit test was located. After some Googling and reading the PHPUnit Api Docs, I found that you can specify a test, among other tests, by adding a comment with the @group annotation.
</blockquote>
<p>
Using this "@group" annotation tells PHPUnit to combine these tests and allows you you specify a "--group" setting on the command line to only run those. He includes some sample code showing how it can be used. This can be very useful for combining results for certain kinds of tests (say, all related to bugfixes) without having to run everything all over again.
</p>]]></description>
      <pubDate>Wed, 01 Feb 2012 08:37:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Practicing Regular Expressions with Search and Replace]]></title>
      <guid>http://www.phpdeveloper.org/news/17163</guid>
      <link>http://www.phpdeveloper.org/news/17163</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial that <a href="http://phpmaster.com/practicing-regular-expressions/">shares a few regular expression tips</a> about doing some search and replace in your content.
</p>
<blockquote>
So how can you practice using regex if you are limited to just using them in your code? The answer is to use a utility, of which there are many, that uses regex for performing search and replace. I'm sure everyone is familiar with the standard "find x and replace it with y" type of search and replace. Most IDEs and text editors have built in regex engines to handle search and replace. In this article I'd like to walk through a series of exercises to help you practice using regex. 
</blockquote>
<p>
His examples are based on <a href="http://netbeans.org/">Netbeans</a> but can be used in just about any IDE that supports regex (or even just your code). He shows how to match word boundaries, do some grouping, work with back references and doing some search/replace based on multiple groupings.
</p>]]></description>
      <pubDate>Wed, 23 Nov 2011 14:27:59 -0600</pubDate>
    </item>
  </channel>
</rss>
