<?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, 20 Nov 2008 18:45:35 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[TechFounder.net: Making web-pages go faster using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11414</guid>
      <link>http://www.phpdeveloper.org/news/11414</link>
      <description><![CDATA[<p>
The TechFounder blog has a <a href="http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/">few general tips</a> you can use to help your web pages go a bit faster:
</p>
<blockquote>
As it might be expected, there are several techniques to optimize the delivery of web pages. The <a href="http://developer.yahoo.com/performance/">Exceptional Performance</a> guide by Yahoo is a great resource for a multitude of optimizations practices, including specifically two techniques which I will address in this article - script <a href="http://developer.yahoo.net/blog/archives/2007/07/high_performanc_8.html">minifcation</a> and <A href="http://yuiblog.com/blog/2008/07/21/performance-research-part-6/">concatenation</a>.
</blockquote>
<p>
Suggestions include reducing total request counts and minification of external libraries via the <a href="http://minify.googlecode.com/files/release_2.1.1.zip">Minify</a> tool.
</p>]]></description>
      <pubDate>Mon, 17 Nov 2008 08:42:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chad Kieffer's Blog: Speed up PHP development in Eclipse PDT with Templates and Snippets]]></title>
      <guid>http://www.phpdeveloper.org/news/10954</guid>
      <link>http://www.phpdeveloper.org/news/10954</link>
      <description><![CDATA[<p>
Recently <i>Chad Kieffer</i> made <a href="http://2tbsp.com/node/104">a post</a> to his blog about a handy little feature of the Eclipse IDE that can help you speed up your development - snippets and templatings.
</p>
<blockquote>
You already know that Eclipse PDT provides autocompletion and hints for PHP's built in functions. In addition, commenting your code with PHPDoc adds autocompletion and hinting for your application's classes, methods, and variables. If you haven't already discovered, Eclipse PDT also provides autocompletion of PHP's control structures, class definitions, and methods through code templates.
</blockquote>
<p>
He gives examples of both the templating and the snippets - inserting a switch() statement template and how to create a custom snippet of whatever code you choose.
</p>]]></description>
      <pubDate>Wed, 03 Sep 2008 11:17:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEveryDay.com: Five New Tutorials]]></title>
      <guid>http://www.phpdeveloper.org/news/10947</guid>
      <link>http://www.phpdeveloper.org/news/10947</link>
      <description><![CDATA[<p>
PHPEveryDay.com has posted several new tutorials on a wide range of topics recently - here's some of them:
</p>
<ul>
<li><a href="http://www.phpeveryday.com/articles/CakePHP-Installation-Quick-Start-P624.html">CakePHP Installation: Quick Start</a> - a tutorial about how to install CakePHP framework 
<li><a href="http://www.phpeveryday.com/articles/CakePHP-Installation-Introduction-P623.html">CakePHP Installation: Introduction</a> - a tutorial with a CakePHP Introduction 
<li><a href="http://www.phpeveryday.com/articles/PHP-Supported-Metacharacters-You-Must-Know-Them--P622.html">PHP Supported Metacharacters (You Must Know Them)</a> - a reference about metacharacters and metasequences 
<li><a href="http://www.phpeveryday.com/articles/HTML-Filters/Purifiers,-The-Need,-and-Introducing-htmLawed-P621.html">HTML Filters/Purifiers, The Need, and Introducing htmLawed</a> - using htmLawed and purifying your HTML 
<li><a href="http://www.phpeveryday.com/articles/Speed-Up-Web-Page-Loading-P620.html">Speed Up Web Page Loading</a>
</ul>
<p>
Check out the <a href="http://www.phpeveryday.com">rest of the site</a> for more great tutorials and articles.
</p>]]></description>
      <pubDate>Tue, 02 Sep 2008 13:46:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Etienne Kneuss' Blog: SplFastArray to speed up your PHP arrays]]></title>
      <guid>http://www.phpdeveloper.org/news/10371</guid>
      <link>http://www.phpdeveloper.org/news/10371</link>
      <description><![CDATA[<p>
<i>Etienne Kneuss</i> has <a href="http://www.colder.ch/news/06-07-2008/33/splfastarray-to-speed-up-.html">posted about</a> a new part of the Standard PHP Library that creates arrays that are up to thirty percent faster than normal methods - SplFastArray.
</p>
<blockquote>
Antony got the idea to implement a C-like array wrapper in SPL: SplFastArray. The main advantage of that class is performance, it's indeed faster than PHP arrays. How so? No free lunch: The speedup comes from the fact that non-numeric indexes are not allowed and that the array is of fixed size.
</blockquote>
<p>
The code sample shows the setting of the size for the array (and changing it) with a var_dump of the output result. This method is always faster than normal arrays, it just varies how much from system to system (anywhere from ten to thirty percent).
</p>]]></description>
      <pubDate>Mon, 09 Jun 2008 12:54:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Xdebug Performance Boost]]></title>
      <guid>http://www.phpdeveloper.org/news/8847</guid>
      <link>http://www.phpdeveloper.org/news/8847</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> <a href="http://sebastian-bergmann.de/archives/707-Xdebug-Performance-Boost.html">quickly points out</a> a patch that <a href="http://derickrethans.nl/">Derick Rethans</a> committed to the <a href="http://xdebug.org/">XDebug</a> software to make things a bit more usable:
</p>
<blockquote>
<a href="http://derickrethans.nl/">Derick</a> recently committed a patch that improves the performance of code coverage data collection in <a href="http://xdebug.org/">Xdebug</a>. [...] This makes <a href="http://www.phpunit.de/">PHPUnit</a>'s <a href="http://www.phpunit.de/pocket_guide/3.2/en/code-coverage-analysis.html">code coverage</a> functionality so much more practical to use.
</blockquote>
<p>
Two examples of it in action are included - one for XDebug 2.0.0 and the other for the development version, XDebug 2.0.1-dev.
</p>]]></description>
      <pubDate>Tue, 16 Oct 2007 08:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Fabian's Blog: Better Performance patch for Symfony 1.0.x and Propel 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/8844</guid>
      <link>http://www.phpdeveloper.org/news/8844</link>
      <description><![CDATA[<p>
In a <a href="http://www.hma-info.de/blog/2007/10/13/better-performance-patch-for-symfony-10x-and-propel-12/">new entry</a> to his blog, <i>Fabian</i> has posted a patch he's developed help get things running faster with Symfony and Propel:
</p>
<blockquote>
I found the sfBuilders that are responsible for stripping the comments from the generated propel classes and also saw that there is a addIncludes parameter in propel.ini. Lets reuse that and modify the Builders to strip the inline includes and requires.
</blockquote>
<p>
What he describes as a "tiny step" can help you squeeze that much more performance out of your Symfony application. You can download <a href="http://www.hma-info.de/blog/wp-content/stuff/propel_includes_10.patch">the patch file here</a>.
</p>]]></description>
      <pubDate>Mon, 15 Oct 2007 16:14:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Funny speed considerations]]></title>
      <guid>http://www.phpdeveloper.org/news/8757</guid>
      <link>http://www.phpdeveloper.org/news/8757</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> <a href="http://schlitt.info/applications/blog/index.php?/archives/565-Funny-speed-considerations.html">offers a helpful hint or two</a> for "speeding up" your application in the form of comparison operators.
</p>
<blockquote>
The fact that type save comparisons (ala ===) are faster in PHP than the normal comparison operator (ala ==). The reason for this is simply, that PHPs loosly-typed-ness-auto-cast-code is not even touched with ===
</blockquote>
<p>
He also points out an interesting condition that saves a bit of computing time - comparing the isset() of a variable to true over the count() to zero. Some of his <a href="http://schlitt.info/misc/bench_res.txt">benchmarking</a> (<a href="http://schlitt.info/misc/bench.txt">code</a>) shows this in action.
</p>]]></description>
      <pubDate>Mon, 01 Oct 2007 12:04:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Travis Swicegood's Blog:  Quick review of Zend_Log]]></title>
      <guid>http://www.phpdeveloper.org/news/8662</guid>
      <link>http://www.phpdeveloper.org/news/8662</link>
      <description><![CDATA[<p>
<i>Travis Swicegood</i>, after having been asked to do a review of the <a href="http://framework.zend.com/manual/en/zend.log.html">Zend_Log</a> component of the Zend Framework, wrote up his report and has <a href="http://www.travisswicegood.com/index.php/2007/09/14/quick_review_of_zend_log">also posted it</a> to his blog.
</p>
<blockquote>
The short answer to is Zend_Log good (enough): yes; the long answer, no. First off, it does what it needs to do without too much fuss [...] but... It has a few fatal flaws in my opinion.
</blockquote>
<p>
While he found the simplicity of the component nice, the flaws seemed to outweigh the good. Problems like code redundancy and a simple thing like writing out to the log file isn't handled well (can't be accessed directly, only through the interface - slower in the long run?). He's included <a href="http://plumb.domain51.com/sandbox/callback/callback.phps">some tests</a> to check out the difference.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Beaver's Blog: phar gets a major speed boost with version 1.2.1]]></title>
      <guid>http://www.phpdeveloper.org/news/8557</guid>
      <link>http://www.phpdeveloper.org/news/8557</link>
      <description><![CDATA[<p>
<i>Greg Beaver</i> has <a href="http://greg.chiaraquartet.net/archives/182-phar-gets-a-major-speed-boost-with-version-1.2.1.html">blogged about</a> an enhancement in the latest release of <a href="http://pecl.php.net/package/phar">phar</a> (1.2.1) - a major speed boost:
</p>
<blockquote>
A few minutes ago, I released <a href="http://pecl.php.net/package/phar">phar</a> version 1.2.1. phar is a PHP extension that allows the creation of complete filesystems within a single physical file.  In addition, a bootstrap stub written in PHP can be used to run a phar archive as if it were an executable file or shell script.  Documentation on its usage and how to create phars is at <a href="http://php.net/phar">http://php.net/phar</a> in the PHP manual.
</blockquote>
<p>
<i>Greg</i> mentions some <a href="http://pecl.php.net/package-changelog.php?package=phar&release=1.2.1">other issues</a> that were fixed and a refactoring of some of the stream operations to cut the speed in half.
</p>]]></description>
      <pubDate>Thu, 30 Aug 2007 09:06:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Internet Super Hero: PHP: mysqli_fetch_all()]]></title>
      <guid>http://www.phpdeveloper.org/news/8476</guid>
      <link>http://www.phpdeveloper.org/news/8476</link>
      <description><![CDATA[<p>
The Internet Super Hero blog <a href="http://blog.ulf-wendel.de/?p=154">points out</a> a new MySQL function for PHP (included with the new MySQL native drivers) that automatically does what countless sites currently do with a loop - grab all of the results from a database query and stuff them into a single array.
</p>
<blockquote>
Here is excellent news for you. mysqli_fetch_all(), which comes with mysqlnd, does the task of fetching the data sometimes twice as fast as mysqli_fetch_array(). Reason being: it saves a loop with function calls…
</blockquote>
<p>
The mysqli_fetch_all function allows you to reduce not only code clutter caused by the loops, but also speeds up the process (by 60% according to his findings). This is based on his current setup, though - under different circumstances (and OSes) there were varying results, but none too much off of the 60% mark. The lowest came in at around a 54% increase.
</p>
<p>
Check out <a href="http://blog.ulf-wendel.de/?p=154">the entire post</a> on more about this handy function and the full details of the "behind the scenes" of how it works.
</p>]]></description>
      <pubDate>Fri, 17 Aug 2007 07:59:00 -0500</pubDate>
    </item>
  </channel>
</rss>
