<?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 02:01:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Klaus Graefensteiner's Blog: Two ways to test for prime numbers in PHP: Sieve and File]]></title>
      <guid>http://www.phpdeveloper.org/news/14099</guid>
      <link>http://www.phpdeveloper.org/news/14099</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Klaus Graefensteiner</i> takes a look at <a href="http://www.tellingmachine.com/post/Two-ways-to-test-for-prime-numbers-in-PHP-Sieve-and-File.aspx">two ways to test for prime numbers</a> both with Sieve and from a file.
</p>
<blockquote>
In PHP is really no ideal way to test large integers and determine whether they are prime numbers or not. The most popular algorithm for finding prime numbers is a memory and resource hog. It is called The <A href="http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes">Sieve of Eratosthenes</a>.
</blockquote>
<p>
You can get more of an idea on this method in <a href="http://www.youtube.com/watch?v=9m2cdWorIq8">this video </a> and in <a href="http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes">this example</a> from Wikipedia. He includes the full source for his solution that includes methods like isInteger, isPositive, isPerfectSquare and isPalindromicPrime. The script is also available for <a href="http://www.tellingmachine.com/file.axd?file=PrimesWIthSieveAndFromFile.zip">download</a>.
</p>]]></description>
      <pubDate>Fri, 26 Feb 2010 13:33:43 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[eWeek: PHP Puts Mainframe Developers in Prime Time]]></title>
      <guid>http://www.phpdeveloper.org/news/6101</guid>
      <link>http://www.phpdeveloper.org/news/6101</link>
      <description><![CDATA[<p>
<a href="http://devzone.zend.com/node/view/id/841">This new post</a> on the Zend Developer Zone points out an eWeek article that talks about PHP putting <a href="http://www.eweek.com/article2/0,1895,2005973,00.asp">mainframe developers in prime time</a>.
</p>
<blockquote>
As mainframe developers migrate from legacy systems to new languages and environments, PHP should be on the short list, said a longtime mainframe programmer who now helps others to adapt to new technologies.
</blockquote>
<p>
<a href="http://www.eweek.com/article2/0,1895,2005973,00.asp">The eWeek article</a> talks about the move they think (well <i>Darryl Taft</i> thinks) mainframe developers should make. He even quotes <i>Wayne Duquaine</i> as saying that:
</p>
<blockquote>
PHP also features a short development time. PHP scripts are five-to-10 times more productive than hand-coding a server application in Java or C from scratch, he said. And PHP also easily integrates database management system processing with HTML and XML processing.
</blockquote>
<p>
They also comment that PHP is a good alternative to the more complex, and sometimes, more difficult languages in other LAMP-style packages.
</p>]]></description>
      <pubDate>Mon, 21 Aug 2006 18:25:41 -0500</pubDate>
    </item>
  </channel>
</rss>
