<?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, 16 May 2008 03:25:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: A PHP Guy's Look At Python]]></title>
      <guid>http://www.phpdeveloper.org/news/10149</guid>
      <link>http://www.phpdeveloper.org/news/10149</link>
      <description><![CDATA[<p>
Focusing on PHP day in and day out is nice, but sometimes it's good to branch out a bit. <i>Kevin Yank</i> agrees and decided to <a href="http://www.sitepoint.com/blogs/2008/05/09/a-php-guy%e2%80%99s-look-at-python/">give Python a try</a>. He's written up this post to the SitePoint PHP blog as he explores the language from a PHP developer's perspective.
</p>
<blockquote>
Like may SitePoint readers, I cut my teeth on PHP. I've become very comfortable with it over the years, warts and all. PHP continues to be a dependable choice, but PHP hasn’t changed a whole lot lately. [...] Python has a lot in common with PHP: it’s a dynamically typed, open source scripting language with excellent documentation and a thriving community around it.
</blockquote>
<p>
He <a href="http://www.sitepoint.com/blogs/2008/05/09/a-php-guy%e2%80%99s-look-at-python/">includes</a> a few basic "Hello World" kinds of examples in Python just to introduce you to the language structure (indenting for code structure? that's crazy talk for us PHPers) and some of the handy features of the language like sequences and the language's automatic namespace support.
</p>]]></description>
      <pubDate>Fri, 09 May 2008 08:48:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Comparing Files and Databases with PHP Benchmarking Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10136</guid>
      <link>http://www.phpdeveloper.org/news/10136</link>
      <description><![CDATA[<p>
DevShed is wrapping up their series looking at benchmarking your PHP applications with <A href="http://www.devshed.com/c/a/PHP/Comparing-Files-and-Databases-with-PHP-Benchmarking-Applications/">the third part</a> - a look at comparing execution times of scripts that can either pull from a database or from a flat file.
</p>
<blockquote>
This large, complex subject offers numerous possibilities for experimentation, which means that you'll surely have tons of fun creating timing systems with PHP. [...] his article, then, will be focused on evaluating different scripts that fetch sets of records, first from a database, and then from flat files.
</blockquote>
<p>
They use the Timer class they defined in a previous part of the series and wrap it around both a database class (pulling user information from a MySQL database) and a fetch to a flat file for similar information. General exceptions are handled as a part of the resource connection class.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 07:58:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dokeos Blog: mbstring vs iconv]]></title>
      <guid>http://www.phpdeveloper.org/news/10034</guid>
      <link>http://www.phpdeveloper.org/news/10034</link>
      <description><![CDATA[<p>
In <a href="http://dokeoslead.wordpress.com/2008/04/22/mbstring-vs-iconv/">this post</a> on the Dokeos blog, there's a comparison of the <a href="http://www.php.net/mbstring">mbstring</a> function and the <a href="http://php.net/iconv">iconv</a> library as it pertains to their use on multi-byte strings.
</p>
<blockquote>
I was wondering today why use mbstring rather than iconv in Dokeos, and honestly I didn't remember exactly why I had chosen mbstring in the past, but finding information about the *differences* between the two. [...] Searching a bit more, I found a <a href="http://www.nyphp.org/content/presentations/smallworld/April2006-nyphp-Presentation.ppt">PPT presentation</a> from Carlos Hoyos on Google.
</blockquote>
<p>
Essentially, it boils down to how the library is integrated - mbstring is bundled and iconv is pulled from an external source. So, if you're looking for maximum portability, he recommends mbstring.
</p>]]></description>
      <pubDate>Thu, 24 Apr 2008 11:18:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog:  PHP, MySQL, and Oracle: An Odd Triangle]]></title>
      <guid>http://www.phpdeveloper.org/news/9951</guid>
      <link>http://www.phpdeveloper.org/news/9951</link>
      <description><![CDATA[<p>
A little while back <i>Matthew Turland</i> posted <a href="http://ishouldbecoding.com/2008/03/09/php-mysql-and-oracle-an-odd-triangle">an interesting item</a> to has blog talking about what he calls the "odd triangle" of PHP, MySQL and Oracle.
</p>
<blockquote>
In [an article from <i>Maggie Nelson</i> in <a href="http://www.objectivelyoriented.com/2008/02/the_february_2008_issue_of_1.html">a blog entry</a>], she remarks on the article being MySQL-oriented and how limited MySQL explain plan support is compared to Oracle. I've had some thoughts in my head for a while that are related to these points, so I finally decided to, knock on wood, put pen to paper.
</blockquote>
<p>
<i>Matthew</i> talks about things he agrees with (Oracle over MySQL when it comes to hierarchal data and set operators) and some of the things that can make Oracle, with all its power, fall by the wayside. This includes its licensing, the administration costs and some of the recent developments between Sun and MySQL.
</p>]]></description>
      <pubDate>Thu, 10 Apr 2008 13:04:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schluter's Blog: PHP 5.3: Up to 30% performance win]]></title>
      <guid>http://www.phpdeveloper.org/news/9859</guid>
      <link>http://www.phpdeveloper.org/news/9859</link>
      <description><![CDATA[<p>
As <i>Johannes Schluter</i> <a href="http://schlueters.de/blog/archives/68-PHP-5.3-Up-to-30-performance-win.html">mentions</a>, the results of some benchmarking have been <a href="http://news.php.net/php.internals/36484">posted</a> concerning the performance of PHP 5.3 versus the current 5.2 series:
</p>
<blockquote>
Dmitry <a href="http://news.php.net/php.internals/36484">posted results</a> of performance test comparing PHP 5.2 and 5.3 to internals which are impressive numbers.
</blockquote>
<p>
The improvements were measured based on several popular pieces of software like Drupal, typo3 and WordPress. The overall performance gian was around thirty percent across the board.
</p>]]></description>
      <pubDate>Wed, 26 Mar 2008 10:28:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: Mini-Review: Zend Guard vs IonCube PHP Encoder]]></title>
      <guid>http://www.phpdeveloper.org/news/9832</guid>
      <link>http://www.phpdeveloper.org/news/9832</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has done a <a href="http://pixelated-dreams.com/archives/348-Mini-Review-Zend-Guard-vs-IonCube-PHP-Encoder.html">mini-review</a> comparing the <a href="http://www.zend.com/en/products/guard/">Zend Guard</a> software with a similar offering from IonCube, <a href="http://www.ioncube.com/sa_encoder.php">IonCube Encoder</a> to help protect your PHP applications.
</p>
<blockquote>
For the last several years, we have been successfully using the IonCube PHP encoder. It works well, providing us with as secure a solution as we could wish for, for our code. [...] Due to the amount of head pounding involved in finding this issue [where IonCube was removing a valid logic branch], I started to consider using <a href="http://www.zend.com/en/products/guard/">Zend Guard</a> instead, figuring that Zend has far more resources and more experience in this arena, we might see less issues.
</blockquote>
<p>
He <a href="http://pixelated-dreams.com/archives/348-Mini-Review-Zend-Guard-vs-IonCube-PHP-Encoder.html">details</a> their upgrade process including comments on the included GUI and how it "just works" (once it's set up)
</p>]]></description>
      <pubDate>Thu, 20 Mar 2008 12:53:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: PEAR vs. Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9793</guid>
      <link>http://www.phpdeveloper.org/news/9793</link>
      <description><![CDATA[<p>
On his blog today, <i>Stefan Mischook</i> <a href="http://www.killerphp.com/articles/pear-vs-zend-framework/">compares</a> two of the popular component libraries out there - PEAR and the Zend Framework (yes, it can be considered a grouping of components too).
</p>
<blockquote>
Now that the Zend Framework is ready for 'prime time', I've been considering the <a href="http://pear.php.net/">Pear framework</a> with regards to how it now fits in the PHP world.
</blockquote>
<p>
He <a href="http://www.killerphp.com/articles/pear-vs-zend-framework/">suggests</a> that not could both be considered component libraries, but might also both be frameworks (based on a definition that a framework is a "consistent set of components that are designed to work together in a unified manner"). He also asks about the need for something like PEAR now that the Zend Framework has come along, getting <i>Jonathan Lebensold</i>'s opinion too.
</p>]]></description>
      <pubDate>Fri, 14 Mar 2008 07:56:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThisLab: Notes on Choosing a PHP Framework: A Quick Comparison of CodeIgniter and Kohana]]></title>
      <guid>http://www.phpdeveloper.org/news/9702</guid>
      <link>http://www.phpdeveloper.org/news/9702</link>
      <description><![CDATA[<p>
On the ThisLab website, they've <a href="http://thislab.com/2008/02/23/notes-on-choosing-a-php-framework-a-quick-comparison-of-codeigniter-and-kohana/">posted their comparison</a> of two PHP frameworks, both based on some of the same code - CodeIgniter and Kohana.
</p>
<blockquote>
<p>
I began hunting for PHP frameworks ever since Ruby on Rails hit the street. [...] I did a lot of searches, and researches, and finally I was happy to see <a href="http://codeigniter.com/">CodeIgniter</a>.
</p>
<p>
CodeIgniter has progressed well and gained many web developers' trust, despite a few glitches. One of which was the spawn of the fork: <a href="http://kohanaphp.com/">Kohana</a>.
</p>
</blockquote>
<p>
He points out <a href="http://en.wikipedia.org/wiki/KohanaPHP#Differences_Between_Kohana_and_CodeIgniter">the Wikipedia page</a> showing some of the differences but the real interest in this post is the more than complete table directly comparing the two frameworks (specific versions of each). Items compared on include supported databases, community, conventions, caching, web service support and unit testing integration.
</p>]]></description>
      <pubDate>Tue, 26 Feb 2008 09:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Thompson's Blog: Switch vs. If]]></title>
      <guid>http://www.phpdeveloper.org/news/9549</guid>
      <link>http://www.phpdeveloper.org/news/9549</link>
      <description><![CDATA[<p>
<i>Rob Thompson</i> has <a href="http://rob.sun3.org/php-code/switch-vs-if/">posted about</a> some simple benchmarking he did comparing the speed of a series of "if" statements versus one "switch" with multiple cases.
</p>
<blockquote>
I got curious about which is actually more efficient at matching a random integer with a set of conditionals. So, I setup a script to create a set of large scripts to test the speed of these different constructs. Using the 'time' command, I measured the speed at which the condition could match a random number.
</blockquote>
<p>
His results found that the switch statement is generally more than 2 times as fast at matching a simple integer. His tests, however, didn't go through much more than this simple test. It'd be interesting to see what it would do with something more complex (like longer strings or handling the result of an evaluation inside the definition of the switch().
</p>]]></description>
      <pubDate>Fri, 01 Feb 2008 14:28:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rails for PHP Blog: PHP, Meet YAML]]></title>
      <guid>http://www.phpdeveloper.org/news/9393</guid>
      <link>http://www.phpdeveloper.org/news/9393</link>
      <description><![CDATA[<p>
On the Rails for PHP blog today, there's <a href="http://railsforphp.com/2008/01/08/php-meet-yaml/">a new article</a> talking about a method that is normally used to handle configuration files and the like - YAML:
</p>
<blockquote>
Besides PHP itself, the most popular config file formats for PHP applications are INI and XML files. [...] <a href="http://yaml.org/">YAML</a> is a relatively new format that has been pioneered by the Ruby and Rails communities. It blends the best aspects of XML and INI, giving us a format with the flexibility of XML and the ease-of-use of INI.
</blockquote>
<p>
He <a href="http://railsforphp.com/2008/01/08/php-meet-yaml/">compares the YAML support</a> - Ruby's built-in support and PHP's functionality via either the <a href="http://spyc.sourceforge.net/">Spyc</a> library/<a href="http://pecl.php.net/package/syck">Syck extension</a> or through a PEAR package from the Horde functionality. Quick code snippets are provided for each.
</p>]]></description>
      <pubDate>Thu, 10 Jan 2008 11:18:00 -0600</pubDate>
    </item>
  </channel>
</rss>
