<?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>Fri, 24 May 2013 11:19:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Enforcing Coding Standards with PHP_CodeSniffer ]]></title>
      <guid>http://www.phpdeveloper.org/news/15321</guid>
      <link>http://www.phpdeveloper.org/news/15321</link>
      <description><![CDATA[<p>
Developing applications has become simpler and simpler these days and the multitude of IDEs out there can help you keep all of your files organized and linked together so you know everything is in its place. There's one thing that only a handful out there can do, though - enforce coding standards. Thankfully, there's a tool that can help you keep your code following down the right path and PHPBuilder.com <a href="http://www.phpbuilder.com/columns/PHP_CodeSniffer/Jason_Gilmore10212010.php3">has a new tutorial</a> about using it - PHP_CodeSniffer.
</p>
<blockquote>
Although defined according to formal grammar and syntax, programming languages -- like their spoken counterparts -- often leave their users with a great deal of leeway for creative expression. [...] It can even be singularly counterproductive if you do not maintain stylistic consistency across projects, as you'll need to continuously re-acclimate to differing syntactical variations.
</blockquote>
<p>
The PHP_CodeSniffer tool runs your code through a validation process and checks its structure against a coding standard (like the <a href="http://pear.php.net/manual/en/standards.php">PEAR standard</a>) and ensure it's formatted correctly. The tutorial shows you how to use the "phpcs" executable to test PHP, Javascript and CSSS files (using the Squiz standard).
</p>]]></description>
      <pubDate>Fri, 22 Oct 2010 08:40:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Blog: Int. PHP Conf 2005 - A sniffer's paradise]]></title>
      <guid>http://www.phpdeveloper.org/news/4278</guid>
      <link>http://www.phpdeveloper.org/news/4278</link>
      <description><![CDATA[On the <a href="http://blog.php-security.org">PHP Security Blog</a> today, there's <a href="http://blog.php-security.org/archives/18-Int.-PHP-Conf-2005-A-sniffers-paradise.html">This post</a> with a little bit different take on the International PHP Conference - of course, more from the security side of things.
<p>
<quote>
<i>
I really enjoyed my stay, because I learned a lot about how the german PHP community ticks and what information they miss in my documentation. However from a security point of view the PHP conference was a nightmare...
<p>
The NH Hotel had a open and free WLAN during the conference days, which I consider quite stupid at a place where lots of IT people are meeting. The connection to the internet was quite slow, so the danger of a large scale anonymous attack was quite low, but a lot of people were using the anonymity to perform XSS and SQL injection attacks on websites of other visitors.
</i>
</quote>
<p>
While <a href="http://blog.php-security.org/archives/18-Int.-PHP-Conf-2005-A-sniffers-paradise.html">this</a> dosen't have much to do with PHP itself, it is interesting to see that there was enough XSS and SQL injections going on to get noticed. Granted, some of it was probably at the request of someone else for testing purposes, but there's still potential there. I think the <a href="http://www.phpconference.com/konferenzen/divers/psecom,id,260,nodeid,332,_language,uk.html">PHP Lounge</a> was a good idea if for nothing else than providing developers with a sounding board for these kinds of issues, a way for them to have others help them test...]]></description>
      <pubDate>Fri, 11 Nov 2005 05:51:40 -0600</pubDate>
    </item>
  </channel>
</rss>
