<?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>Mon, 20 May 2013 04:07:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Taming SplPriorityQueue]]></title>
      <guid>http://www.phpdeveloper.org/news/15760</guid>
      <link>http://www.phpdeveloper.org/news/15760</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/253-Taming-SplPriorityQueue.html">a new post</a> to his blog today looking at one of the tools the <a href="http://php.net/spl">Standard PHP Library (SPL)</a> has to offer developers - the SplPriorityQueue (PHP 5.3+)
</p>
<blockquote>
<a href="http://php.net/SplPriorityQueue">SplPriorityQueue</a> is a fantastic new feature of PHP 5.3. However, in trying to utilize it in a few projects recently, I've run into some behavior that's (a) non-intuitive, and (b) in some cases at least, undesired. In this post, I'll present my solutions.
</blockquote>
<p>
He talks about the "first in, first out" nature of queues and how it differs from a stack (including links to some of the other SPL offerings for both). He then moves into the problems he was seeing - that iteration removes values from the heap and the unexpected order of equal values in the queue. To solve the first problem, he creates an "outer iterator" that creates an "innerQueue" that's protected. The solution for the second issue - the random queue order - is a simple one: priority indexes aren't required to be integers. Strings can be substituted to help make things a bit more unique.
</p>]]></description>
      <pubDate>Tue, 18 Jan 2011 12:43:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chance Garcia's Blog: Zend_log_exception 'bad log priority']]></title>
      <guid>http://www.phpdeveloper.org/news/12044</guid>
      <link>http://www.phpdeveloper.org/news/12044</link>
      <description><![CDATA[<p>
<i>Chance Garcia</i> has <a href="http://phpprotip.com/2009/02/zend_log_exception-bad_log_priority/">posted about an exception</a> he's come across several times in using the Zend_Log component of the <a href="http://framework.zend.com">Zend Framework</a> but hasn't been able to figure out - until now (with the help of part of the Zend Framework manual).
</p>
<blockquote>
There are a few times I've gotten this particular exception and then look at the trace and can't figure out what's wrong. More often than not, I'll get to the line in the trace and be like, "wtf! there's no priority here. It's a method call not a constant". [...] So to save myself and others some time and aggrevation, I'm going to go into a bit of detail as to why you may be getting this exception.
</blockquote>
<p>
As it turns out, the Zend_Log exception was caused by the components overloading of the __call function to allow for some custom handling. <i>Chance</i> sees this issues as an example of "flexibility leading to complications that require complex understanding".
</p>]]></description>
      <pubDate>Mon, 02 Mar 2009 10:27:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Choosing an Open-Source Content Management System ]]></title>
      <guid>http://www.phpdeveloper.org/news/11603</guid>
      <link>http://www.phpdeveloper.org/news/11603</link>
      <description><![CDATA[<p>
From the "Braindump" section over on DevShed today there's a <a href="http://www.devshed.com/c/a/BrainDump/Choosing-an-OpenSource-Content-Management-System/">new article</a> sharing some helpful hints on picking out that right Open Source content management system that you need for the job.
</p>
<blockquote>
A Content Management System (CMS) provides a straightforward way to maintain a web site, allowing site owners to include interactive features such as article publishing, file uploads and sharing, forums and blogs with a minimum of coding. And a good CMS will also allow extensive customization to the site's layout and appearance, so it doesn't end up looking like thousands of other sites built on top of the same code base.
</blockquote>
<p>
The look at a few of the priorities to consider - multi-author support, metadata management, ease of use - as well as technology and business considerations. Systems they look at in their overview include Joomla, Drupal, Mabo and Plone.
</p>]]></description>
      <pubDate>Fri, 19 Dec 2008 10:26:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Logging in PHP Applications ]]></title>
      <guid>http://www.phpdeveloper.org/news/11529</guid>
      <link>http://www.phpdeveloper.org/news/11529</link>
      <description><![CDATA[<p>
DevShed has posted a <a href="http://www.devshed.com/c/a/PHP/Logging-in-PHP-Applications/">new tutorial</a> today looking at one of the more useful tools a developer can add into an application - logging.
</p>
<blockquote>
If there is no logging mechanism, then if there's a goof-up in a production environment, you have absolutely no idea what went wrong. The only thing which a support developer can do in this case is to reproduce the issue at the developer end, which sometimes work and sometimes don't. 
</blockquote>
<p>
The look at the types of logging (trace logs, audit logs and user logging/history) and create a simple class that allows flexibility for file location, priority and timstamping. Their script contains a writelog method that does all the work (including pushing it through the PEAR logging class).
</p>]]></description>
      <pubDate>Mon, 08 Dec 2008 13:52:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll - Which One of the Following Should a PHP Programmer Give Priority?]]></title>
      <guid>http://www.phpdeveloper.org/news/7903</guid>
      <link>http://www.phpdeveloper.org/news/7903</link>
      <description><![CDATA[<p>
The International PHP Magazine is <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27246,nodeid,5.html">back with the results</a> on their latest poll today that asked developers to vote on which, of their options, a PHP developer should give the most effort towards when creating their applications.
</p>
<p>
Options included "Magic Methods", "IDE's" and "Database Support" but the number one option that got the most votes by far was "Classes". This left second ("All" at 19.3 percent) and third ("Database Support" at 8.4 percent) place in the dust.
</p>
<p>
If you're a CodeIgniter user, be sure to get your vote in on <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27247,nodeid,5.html">this week's poll</a> asking users to vote on which of the feature options they've given is what makes CodeIgniter the best framework out there.
</p>]]></description>
      <pubDate>Wed, 23 May 2007 11:19:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll Question: Which Is Your Favourite PHP Framework?]]></title>
      <guid>http://www.phpdeveloper.org/news/7851</guid>
      <link>http://www.phpdeveloper.org/news/7851</link>
      <description><![CDATA[<p>
The International PHP Magazine has posted <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27224,nodeid,5.html">the results</a> from the latest poll (they conducted over the past week) that asked which of the options given was your favorite framework choice.
</p>
<p>
Options included CodeIgniter, CakePHP, PHP on TRAX, Propel, Seagull, Solar, the Zend Framework and more. Coming in with the largest percentage of the votes, though was CakePHP with 56.1 percent of the responses. Coming in second (but a ways behind) was CodeIgniter followed by the Zend Framework.
</p>
<p>
If you didn't get a chance to get your vote in on that poll, you can get in on <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27223,nodeid,5.html">this week's poll</a> and voice your opinion. This time, they're asking which (of the given options) should a programmer give the more emphasis to when developing their application.
</p>]]></description>
      <pubDate>Wed, 16 May 2007 08:46:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Magazine: IPM Poll Question: What Features do You Prioritize in a CMS?]]></title>
      <guid>http://www.phpdeveloper.org/news/5870</guid>
      <link>http://www.phpdeveloper.org/news/5870</link>
      <description><![CDATA[<p>
The International PHP Magazine has finished yet another poll today, <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26154,nodeid,5.html">this time</a> they asked their site visitors the question "What Features do You Prioritize in a CMS?".
</p>
<p>
The options included things like "Small footprint, less than 30K" and "Multiple methods for providing news feed" but the number one on the list (as chosen by the readers) was "Simple and powerful administration panel" with "Easy to integrate into an existing web site" pulling in a close second.
</p>
<blockquote>
It is evident that the majority looks for a simple and powerful administration panel in a CMS as it garnered 36.9% of votes. 35.7% look for a CMS that is easy to integrate into an existing web site. 13.1% want a CMS that is easy to skin. 'Simple and easy to install' polled 8.3% of the votes. 3.6% desire a small footprint less than 30k. The options, 'No requirement for a database' and 'Multiple methods for providing news feed' bagged a dismal 1.2%.
</blockquote>
<p>
Be sure to <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26158,nodeid,5.html">check out this week's poll</a> (PHP misconceptions) and cast your vote today!
</p>]]></description>
      <pubDate>Tue, 25 Jul 2006 13:14:07 -0500</pubDate>
    </item>
  </channel>
</rss>
