<?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>Thu, 23 May 2013 12:37:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Wide Finder in...errr...PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8948</guid>
      <link>http://www.phpdeveloper.org/news/8948</link>
      <description><![CDATA[<p>
In a <a href="http://www.sitepoint.com/blogs/2007/11/01/wide-finder-in-errr-php/">new post</a> on the SitePoint PHP blog today, <i>Harry Fuecks</i> has created a "wide finder" based on <a href="http://www.tbray.org/ongoing/When/200x/2007/09/20/Wide-Finder">a project</a> put together by <i>Tim Bray</i>.
</p>
<blockquote>
Tim set a simple, but very much real-world challenge; write an app that determines the top 10 most popular blogs from his Apache access log. It should be fast and readable, with a subtext of illustrating how "language X" copes in terms of parallel processing and utilizing "wider" (many processor) systems.
</blockquote>
<p>
Since PHP natively doesn't support multi-threading (well), <i>Harry</i> opted to go with an approach using <a href="http://www.php.net/manual/en/function.curl-multi-exec.php">curl_multi_exec</a> instead. There's two pieces to the puzzle - the mapper to grab the information and extract the data and the reducer that makes the calls to grab the information from the log files.
</p>]]></description>
      <pubDate>Thu, 01 Nov 2007 08:24:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Compressing JPEG images with JPEG Reducer]]></title>
      <guid>http://www.phpdeveloper.org/news/6997</guid>
      <link>http://www.phpdeveloper.org/news/6997</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>Manuel Lemos</i> has posted <a href="http://devzone.zend.com/node/view/id/1410">a brief look</a> at one of the classes over on the PHPClasses.org website - <a href="http://www.phpclasses.org/jpegreducer">JPEG Reducer</a>.
</p>
<blockquote>
If you want to generate JPEG images with a limited file size, and at the same time you do not want to sacrifice too much the image quality, you have to find an approximated value for the quality factor that leads to an image with a file size near the desired limit.
</blockquote>
<p>
The <a href="http://www.phpclasses.org/jpegreducer">JPEG Reducer</a> takes this approach, providing you with the ability to give it the quality you want and have it approximate the closest values to convert it to. There's a brief code example included as well. Check out the full documentation for the class <a href="http://www.phpclasses.org/jpegreducer">here</a>.
</p>]]></description>
      <pubDate>Fri, 29 Dec 2006 10:19:00 -0600</pubDate>
    </item>
  </channel>
</rss>
