<?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>Wed, 22 May 2013 05:46:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[MaltBlue.com: Zend Framework 2 Core Concepts - Dependency Injection]]></title>
      <guid>http://www.phpdeveloper.org/news/18902</guid>
      <link>http://www.phpdeveloper.org/news/18902</link>
      <description><![CDATA[<p>
In <a href="http://www.maltblue.com/articles-2/zend-framework-2-core-concepts-understanding-dependency-injection">this new post</a> <i>Matthew Setter</i> has posted about one of the core concepts behind the structure and use of Zend Framework 2, its use of dependency injection to handy object relationships and access (via Zend/Di).
</p>
<blockquote>
As Zend Framework 2 is well and truly here, before some of us who are new to it dive right on in, whether you're completely new or, like me, migrating from Zend Framework 1, it's really important to ensure that we understand the core concepts on which it's based. [...] In this, the first part in the series, I'm going to go through what dependency injection (DI) is. However, as there are a number of great posts already available on the topic by some very experienced developers, [...] I'm not going to rehash them.
</blockquote>
<p>
Instead he extracts out useful tips from posts of a few other sources on ZF2 and dependency injection in general: <a href="http://mwop.net/blog/260-Dependency-Injection-An-analogy.html">Matthew Weier O'Phinny</a>, the <a href="http://framework.zend.com/manual/2.0/en/modules/zend.di.introduction.html">ZF2 manual</a>, <i>Martin Fowler</i> on <a href="http://martinfowler.com/articles/injection.html"> dependency injection</a>, <a href="http://en.wikipedia.org/wiki/Dependency_injection">Wikipedia</a> and more. He also includes lots of links to more great articles on the subject, both ZF2-specific and for DI iin general.
</p>]]></description>
      <pubDate>Mon, 17 Dec 2012 10:09:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Are You Making These 10 PHP Mistakes?]]></title>
      <guid>http://www.phpdeveloper.org/news/11877</guid>
      <link>http://www.phpdeveloper.org/news/11877</link>
      <description><![CDATA[<p>
All of you developers out there, NETTUTS.com has a question for you - are you making any of <a href="http://nettuts.com/articles/are-you-making-these-10-php-mistakes/">these ten PHP mistakes</a> in your day to day development? Which ones, you ask? Read on...
</p>
<blockquote>
Here are 10 PHP mistakes that any programmer, regardless of skill level, might make at any given time. Some of the mistakes are very basic, but trip up even the best PHP programmer. Other mistakes are hard to spot (even with strict error reporting). But all of these mistakes have one thing in common: They're easy to avoid.
</blockquote>
<p>Here's the list (as <i>Glen Stanberry</i> sees it):</p>
<ul>
<li>Single quotes, double quotes
<li>Semicolon after a While
<li>NOT Using database caching
<li>Missing Semicolon After a Break or a Continue
<li>Not Using E_ALL Reporting
<li>Not Setting Time Limits On PHP Scripts
<li>Not Protecting Session ID's
<li>Not Validating Cookie Data
<li>Not Escaping Entities
<li>Using Wrong Comparison Operators
</ul>]]></description>
      <pubDate>Wed, 04 Feb 2009 09:33:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Arpad Ray's Blog: The adventure of PHP and the magic quotes]]></title>
      <guid>http://www.phpdeveloper.org/news/11589</guid>
      <link>http://www.phpdeveloper.org/news/11589</link>
      <description><![CDATA[<p>
One of the things that's been hanging around PHP's neck since its early days is the magic_quotes setting that was introduces to try to make things easier. In <a href="http://arpad.co.uk/2008/09/the-adventure-of-php-and-the-magic-quotes/">this interesting post</a> <i>Arpad Ray</i> takes a look at this setting and why its a bad thing for PHP to have around.
</p>
<blockquote>
Like register_globals, it helped lower the barrier of entry to building a dynamic website by removing some of the complexity. However it certainly wasn't without sacrifice, problems with the implementation quickly appeared and continued to abound for the next ten years. Finally in PHP 5.2.2 we got an implementation which (as far as its intentions went) seemed to be bug free, but of course by then it was turned off by default and was already slated to be dropped in PHP 6.
</blockquote>
<p>
He looks at a few reasons they're bad (not good enough for escaping, inconsistent, performance issues) and some methods - code snippets - on how to deal with it being turned on on your server.
</p>]]></description>
      <pubDate>Wed, 17 Dec 2008 12:03:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.2.7 has been removed from distribution]]></title>
      <guid>http://www.phpdeveloper.org/news/11520</guid>
      <link>http://www.phpdeveloper.org/news/11520</link>
      <description><![CDATA[<p>
From an important notice posted on the main PHP.net page - a bug has been found with PHP 5.2.7 and it has been "recalled":
</p>
<blockquote>
Due to a security bug found in the PHP 5.2.7 release, it has been removed from distribution. The bug affects configurations where <a href="http://www.php.net/magic_quotes">magic_quotes_gpc</a> is enabled, because it remains off even when set to on. In the meantime, use PHP <A href="http://www.php.net/releases/5_2_6.php">5.2.6</a> until PHP 5.2.8 is later released. 
</blockquote>
<p>
The 5.2.7 downloads have been removed from the <A href="http://www.php.net/downloads.php">downloads page</a> but you can now redownload the PHP 5.2.6 source and binaries if you need them.
</p>
<p>
You can also find out more about the issue in <a href="http://www.suspekt.org/2008/12/07/php-527-beware-magic_quotes_gpc-broken/">this post</a> on <i>Stefan Esser</i>'s blog
</p>]]></description>
      <pubDate>Mon, 08 Dec 2008 06:40:57 -0600</pubDate>
    </item>
  </channel>
</rss>
