<?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>Sat, 25 May 2013 06:30:37 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Nikita Popov's Blog: Don't be STUPID: GRASP SOLID!]]></title>
      <guid>http://www.phpdeveloper.org/news/17314</guid>
      <link>http://www.phpdeveloper.org/news/17314</link>
      <description><![CDATA[<p>
<i>Nikita Popov</i> talks about the <a href="http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod">SOLID</a> coding practices and creates his own acronym for the complete opposite - <a href="http://nikic.github.com/2011/12/27/Dont-be-STUPID-GRASP-SOLID.html">STUPID</a> (Singleon, Tight coupling, Untestable, Premature optimization, Indescriptive naming, Duplication).
</p>
<blockquote>
Ever heard of SOLID code? Probably: It is a term describing a collection of design principles for "good code" that was coined by Robert C. Martin (aka "uncle bob"), our beloved evangelist of clean code. [...] So, why not approach the problem from the other side for once? Looking at what makes up bad code.
</blockquote>
<p>
He goes through each part of his STUPID acronym and talks about how it can hurt your code and a few alternatives to help make your application more flexible and easier to maintain in the long run. He also mentions <a href="http://en.wikipedia.org/wiki/GRASP_%28object-oriented_design%29">GRASP</a> (General Responsibility Assignment Software Principles), another set of good practices to follow, some similar to SOLID, that can make your app better.
</p>]]></description>
      <pubDate>Wed, 28 Dec 2011 09:26:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Esser's Blog: CORE GRASP - PHP Tainted Mode]]></title>
      <guid>http://www.phpdeveloper.org/news/8515</guid>
      <link>http://www.phpdeveloper.org/news/8515</link>
      <description><![CDATA[<p>
<i>Stefan Esser</i> <a href="http://blog.php-security.org/archives/92-CORE-GRASP-PHP-Tainted-Mode.html">points out</a> a new patch today - <a href="http://grasp.coresecurity.com/index.php?m=dld">CORE GRASP</a> - from the <a href="http://www.coresecurity.com/">Core Security Technologies</a> group that provides taint support surrounding the mysql_query function.
</p>
<blockquote>
Their implementation adds a tainted or not flag for every byte so that it is possible on invocation of mysql_query() to determine any kind of injection.
</blockquote>
<p>
Unfortunately, <i>Stefan</i> also mentions two big issues it might have from the get-go: the overhead for the memory needed can slow things down and an incorrect parsing in their query handler could lead to injection attacks. 
</p>]]></description>
      <pubDate>Wed, 22 Aug 2007 16:19:27 -0500</pubDate>
    </item>
  </channel>
</rss>
