<?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, 23 May 2012 11:00:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: Speed Up Your PHP Like Facebook]]></title>
      <guid>http://www.phpdeveloper.org/news/17182</guid>
      <link>http://www.phpdeveloper.org/news/17182</link>
      <description><![CDATA[<p>
On DZone.com <i>John Esposito</i> <a href="http://css.dzone.com/articles/speed-your-php-facebook">reminds you</a> about another technology Facebook has introduced to the world of PHP (besides HipHop) - <a href="https://github.com/facebook/xhprof">XHProf</a>, a PHP profiler.
</p>
<blockquote>
Facebook did more for PHP: they also created XHProf, a PHP profiler with a (supposedly) easy-to-use HTML interface, designed to pinpoint exactly where your bottlenecks are appearing, so that you can optimize at every stage in the pipeline. [...] If you haven't tried XHProf, you might want to <a href="https://github.com/facebook/xhprof">look into it</a>. Installation apparently requires a little nudging, but Nick Lewis just posted a <a href="http://nicklewis.org/node/1087">full, practical guide</a> to benchmarking and performance tuning your PHP and MySQL, using XHProf (as well as other techniques) -- a very nice overview of many common bottlenecks and how to open them up.
</blockquote>
<p>
There's also a link to some <a href="http://groups.drupal.org/node/187209">Drupal 6 benchmarks</a> that shows how it has helped that project (including both small and large improvements).
</p>]]></description>
      <pubDate>Tue, 29 Nov 2011 10:13:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[VentureBeat.com: Exclusive: Facebook opens up about open-source software]]></title>
      <guid>http://www.phpdeveloper.org/news/16797</guid>
      <link>http://www.phpdeveloper.org/news/16797</link>
      <description><![CDATA[<p>
On VentureBeat today there's a post (the first of two parts) looking at <a href="http://venturebeat.com/2011/08/30/facebook-open-source-software/">Facebook's involvement in Open Source software</a>, including their work on <a href="http://github.com/facebook/hiphop-php">HipHop</a> and <a href="http://github.com/facebook/xhp">XHP</a> for PHP (an interview with David Recordon and Amir Michael).
</p>
<blockquote>
The social media company has, without question, taken the time to work on those projects. The hackers at Facebook have done perhaps more than any other single entity to advance and optimize PHP, the programming language on which the network is primarily built.
</blockquote>
<p>
They talk about some of the projects, both PHP-related and not, that the developers of Facebook have either created or contributed to. There's mentions of Facebook's "hacker culture" and a mention of their workflow and how they decided on going forward with something like HipHop.
</p>]]></description>
      <pubDate>Wed, 31 Aug 2011 11:48:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Artur Graniszewski's Blog: Drupal 7: HipHop for PHP vs APC - benchmark]]></title>
      <guid>http://www.phpdeveloper.org/news/16362</guid>
      <link>http://www.phpdeveloper.org/news/16362</link>
      <description><![CDATA[<p>
<i>Artur Graniszewski</i> has written up a comparison of the performance of a standard Durpal 7 installation using <a href="http://php.webtutor.pl/en/2011/05/17/drupal-hiphop-for-php-vs-apc-benchmark/">HipHop versus APC</a> to handle the optimization of the application.
</p>
<blockquote>
There have been many suggestions on improving Drupal performance, some of them recommend the use of APC module, data caching, or even compilation of the entire system through HipHop for PHP. While the first two solutions have been successfully implemented, no one was able to perform the build process. After many battles with the the compiler and the Drupal code, I present you results of the first successful translation of Drupal 7 to C++ language
</blockquote>
<p>
He introduces the methods he used and the statistics of the platform (hardware) he tested with. He also includes the software used and compile commands used to create the compiled Drupal version. Included in the post are graphs showing CPU usage comparing the two types of testing (HipHop and APC) versus a normal PHP-based installation. It also briefly touches on concurrency levels and the different optimizations that could be made with the gcc compiler.
</p>]]></description>
      <pubDate>Thu, 19 May 2011 11:01:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebTutor.pl: HipHop for PHP: Benchmark - Revenge of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16226</guid>
      <link>http://www.phpdeveloper.org/news/16226</link>
      <description><![CDATA[<p>
On the WebTutor.pl site they've posted the <a href="http://php.webtutor.pl/index.php/2011/04/04/hiphop-for-php-benchmark-revenge-of-php/">second part</a> of their series looking at the benchmark results from their tests running HipHop. You can find their first post with some of the introductory setup and information <a href="http://php.webtutor.pl/index.php/2011/04/02/hiphop-for-php-bechmark-english-version/">here</a>.
</p>
<blockquote>
In <a href="http://php.webtutor.pl/index.php/2011/04/02/hiphop-for-php-bechmark-english-version/">previous article</a> I measured the performance of HipHop for PHP by performing some tests downloaded from the <a href="http://shootout.alioth.debian.org/">shootout.alioth.debian.org</a> website. Unfortunately the test list was incomplete. Only six tests were selected to avoid potential incompatibility issues with the HipHop compiler.
</blockquote>
<p>
In this new post he provides the results for two more tests: regex-dna and k-nucleotide. He outlines the testing platform and shares the results of testing some pretty basic scripts. His <a href="http://php.webtutor.pl/wp-content/uploads/2011/04/graph-sb-en2.png">results</a> were interesting and found that some operations the HipHop compiler actually slowed down.
</p>]]></description>
      <pubDate>Wed, 20 Apr 2011 13:47:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org Blog: 2010: Yet another great year for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15623</guid>
      <link>http://www.phpdeveloper.org/news/15623</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's <a href="http://www.phpclasses.org/blog/post/138.html">a new post</a> from <i>Manuel Lemos</i> looking back at 2010 an the life of PHP - yet another great year.
</p>
<blockquote>
2010 was an year full of interesting happenings for the PHP development and its community of developers. This article presents a balance of what were the most important happenings in the PHP community in 2010, as well a reflection of what we can expect for 2011 for PHP, as well for the PHPClasses site.
</blockquote>
<p>
Among the important happenings of this past year he mentions the issues surrounding PHP6, HipHop and PHP running on the Andriod platform. He speculates on a few things that we can expect from PHP in the upcoming year(s) like the release of PHP 5.4. Also included are some updates that were made to the <a href="http://phpclasses.org">PHPClasses.org</a> site itself.
</p>]]></description>
      <pubDate>Thu, 23 Dec 2010 08:50:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Facebook Engineering Blog: HipHop for PHP: six months later]]></title>
      <guid>http://www.phpdeveloper.org/news/14968</guid>
      <link>http://www.phpdeveloper.org/news/14968</link>
      <description><![CDATA[<p>
On the Facebook Engineering blog there's <a href="http://www.facebook.com/note.php?note_id=416880943919">a new post</a> summarizing the last six months since they released the <a href="http://github.com/facebook/hiphop-php">HipHop</a> tool for PHP along with some of the stats from the time.
</p>
<blockquote>
Since February, the team has made HipHop another 1.8 times faster and all of that code is open source. We've also seen improvements to PHP itself with the additions to PHP's trunk in April being about 10% faster than 5.3.
</blockquote>
<p>
They talk about projects they've worked with (including <a href="http://drupal.org/">Drupal</a> and <a href="http://wordpress.org/">WordPress</a>), community contributions, a first use of it in production at <a href="http://ocproducts.com/">ocProducts</a> and the work that's been done for FreeBSD.
</p>]]></description>
      <pubDate>Mon, 16 Aug 2010 15:06:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Using HipHop for Static Analysis]]></title>
      <guid>http://www.phpdeveloper.org/news/14857</guid>
      <link>http://www.phpdeveloper.org/news/14857</link>
      <description><![CDATA[<p>
In a new blog entry today <i>Sebastian Bergmann</i> quickly shows a method of <a href="http://sebastian-bergmann.de/archives/894-Using-HipHop-for-Static-Analysis.html">performing some code analysis</a> on code transformed by <a href="http://sebastian-bergmann.de/archives/880-My-Take-on-Facebooks-HipHop-for-PHP.html">HipHop for PHP</a>.
</p>
<blockquote>
<a href="http://sebastian-bergmann.de/archives/880-My-Take-on-Facebooks-HipHop-for-PHP.html">HipHop for PHP</a>, the source code transformer that turns PHP code into C++ code that can then be compiled with g++, can also be used for <a href="http://en.wikipedia.org/wiki/Static_code_analysis">static code analysis</a> to find problems in PHP source code.
</blockquote>
<p>
He includes a script that creates an XML document that both <a href="http://checkstyle.sourceforge.net/">Checkstyle</a> and <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer</a> can use to check for a valid format on his sample "CodeErrors.js" file. He includes the script to create this XML file.
</p>]]></description>
      <pubDate>Tue, 27 Jul 2010 10:13:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Facebook Invades DCPHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14462</guid>
      <link>http://www.phpdeveloper.org/news/14462</link>
      <description><![CDATA[<p>
On the php|architect site today there's <a href="http://www.phparch.com/2010/05/04/facebook-invades-dcphp/">a wrap-up from Keith Casey</a> about the latest <a href="http://dcphp.net/">DC PHP User Group</a> meeting where <i>Scott MacVicar</i> from Facebook presented on <a href="http://github.com/facebook/hiphop-php">HipHop</a>.
</p>
<blockquote>
[Scott's] title is "Open Source Developer Advocate" which puts him in the odd position of making good things happen within Facebook, representing them to the community, and convincing the community to get involved. Towards that goal, this presentation was the last stop of a short tour to present HipHop to PHP groups.
</blockquote>
<p>
He mentions the stats <i>Scott</i> shared - the size of Facebook's image hosting, the time spent on the site by the average user - and, of course, details on how HipHop helps them with his crushing load of users. He was also asked a question on the lips of many a developer out there - why would Facebook release HipHop for public consumption? You'll have to <a href="http://www.phparch.com/2010/05/04/facebook-invades-dcphp">read the post</a> to find out.
</p>]]></description>
      <pubDate>Wed, 05 May 2010 10:48:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Doru Moisa's Blog: Static call versus Singleton call in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14110</guid>
      <link>http://www.phpdeveloper.org/news/14110</link>
      <description><![CDATA[<p>
<i>Doru Moisa</i> has written up a new post with some benchmarks <a href="http://moisadoru.wordpress.com/2010/03/02/static-call-versus-singleton-call-in-php/">comparing static calls versus singleton calls</a> for a few different situations.
</p>
<blockquote>
n the past several months I've been working with a rather large application built with symfony. I noticed that symfony makes heavy use of the Singleton pattern (other frameworks, like Zend do that too); everywhere in the code [...] Notice the amount of code needed by the Singleton pattern. Except the [shown] method, all the code in the class makes sure you have only one instance at any time during the execution.
</blockquote>
<p>
He shows how to replace the standard singleton logic with something more specific and decides to test the two methods, seeing which of them can handle the most requests per second. His sample code is included for both the scripts called and the test script run. In all instances, the static call won out over the singleton instance easily. Even when tested with the <a href="http://wiki.github.com/facebook/hiphop-php">Facebook compiler</a>, the results were still the same.
</p>]]></description>
      <pubDate>Mon, 01 Mar 2010 21:22:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Wales' Blog: What does HipHop PHP mean for CodeIgniter?]]></title>
      <guid>http://www.phpdeveloper.org/news/14084</guid>
      <link>http://www.phpdeveloper.org/news/14084</link>
      <description><![CDATA[<p>
<i>Michael Wales</i> has taken a look at <a href="http://www.michaelwales.com/2010/02/what-does-hiphop-php-mean-for-codeigniter/">what effect HipHop could have on your CodeIgniter application</a> (or lack there of). 
</p>
<blockquote>
So, what does this mean for the CodeIgniter community? In short, absolutely nothing. Most CodeIgniter developers are building applications that will run on shared hosts, virtual private servers or a cloud-based virtualization system. Of that very large group of our community, an extremely small number have the capability to compile the HipHop binaries or alter their configuration in order to serve HipHop pages.
</blockquote>
<p>
He points out that, for most developers and applications, time is better spent optimizing the actual application - things like reducing the I/O needs, caching, etc. HipHop, unless you have a very high demand and load on the application, won't give much of a gain. He gives the example of <a href="http://www.michaelwales.com/wp-content/uploads/2010/02/facebook-com_uv_1y.png">Facebook's load</a> and how even it would only relatively recently would benefit from the tool.
</p>]]></description>
      <pubDate>Wed, 24 Feb 2010 11:37:36 -0600</pubDate>
    </item>
  </channel>
</rss>

