<?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>Sat, 25 May 2013 05:32:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP Podcast - Episode #25: The 7 Main Optimizations of PHP 5.4]]></title>
      <guid>http://www.phpdeveloper.org/news/18177</guid>
      <link>http://www.phpdeveloper.org/news/18177</link>
      <description><![CDATA[<p>
In <a href="http://www.phpclasses.org/blog/post/189-The-7-Main-Optimizations-of-PHP-54--Lately-in-PHP-podcast-episode-25.html">this new episode</a> of the "Lately in PHP" podcast, <i>Manuel Lemos</i> and <i>Gustavo Lopes</i> (a core PHP developer) talk about some of the latest enhancements in the PHP 5.4.x releases.
</p>
<blockquote>
The PHP 5.4 includes 7 main optimizations that made PHP work more efficiently in terms of the speed and memory usage efficiency. That is the main topic discussed in episode 25 of the Lately in PHP podcast on which Manuel Lemos received Gustavo Lopes, a PHP core developer.
</blockquote>
<p>
You can either listen to this latest episode through the <a href="http://www.phpclasses.org/blog/post/189-The-7-Main-Optimizations-of-PHP-54--Lately-in-PHP-podcast-episode-25.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/189/file/138/name/Lately-In-PHP-25.mp3>downloading the mp3</a> or by <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to the blog's feed</a>. Additionally, you can also <a href="http://www.youtube.com/watch?v=qpWtkslbMf0">watch the video</a> of the interview as recorded via Google Hangouts.
</p>]]></description>
      <pubDate>Wed, 04 Jul 2012 18:57:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: The Secret PHP Optimization of version 5.4]]></title>
      <guid>http://www.phpdeveloper.org/news/18094</guid>
      <link>http://www.phpdeveloper.org/news/18094</link>
      <description><![CDATA[<p>
In <a href="http://www.phpclasses.org/blog/post/187-The-Secret-PHP-Optimization-of-version-54.html">this new post</a> from <i>Manuel Lemos</i> on the PHPClasses.org blog about some of the performance enhancements that were introduced in the latest PHP releases (the 5.4.x series) including variable access optimization.
</p>
<blockquote>
PHP 5.4 introduced several performance optimizations. One of them was not discussed much in the PHP community but it may affect the performance of your code depending on the way you write it.
</blockquote>
<p>
He gets into some of the details surrounding the variable access optimization, pointing out how to get the most out of this improvement. He also does a bit of speculation about future versions of the language, including the possible introduction of <a href="http://www.phpclasses.org/blog/post/117-PHP-compiler-performance.html">"Just In Time" compilers</a>.
</p>]]></description>
      <pubDate>Thu, 14 Jun 2012 12:12:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Your First WordPress Plugin: Simple Optimization]]></title>
      <guid>http://www.phpdeveloper.org/news/14582</guid>
      <link>http://www.phpdeveloper.org/news/14582</link>
      <description><![CDATA[<p>
On NETTUTS.com today there's a new tutorial introducing you to the world of WordPress plugins by helping your <a href="http://net.tutsplus.com/tutorials/wordpress/your-first-wordpress-plugin-simple-optimization">create your first plugin</a> - an optimization plugin that will help with things like page load time and general SEO.
</p>
<blockquote>
This tutorial is going to assume that you have at least a beginner's understanding of PHP and the WordPress syntax. Though we'll be covering everything, some knowledge beforehand will help you grasp the concepts much more easily. I'll also assumes that you have a WP blog setup and ready to go.
</blockquote>
<p>
The plugin takes out useless meta tags, unloads unneeded filters and handles some SEO work like adding tags and an excerpt into the post's header information. The break the plugin down into the different parts and include the code to get each of them working including a call to optimize all of the tables in your current WordPress install's database.
</p>]]></description>
      <pubDate>Tue, 01 Jun 2010 09:47:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[P'unk Avenue Blog: Faster, PHP! Kill! Kill!]]></title>
      <guid>http://www.phpdeveloper.org/news/14204</guid>
      <link>http://www.phpdeveloper.org/news/14204</link>
      <description><![CDATA[<p>
On the P'unk Avenue blog there's a recent post from <i>Tom Boutell</i> looking at <a href="http://window.punkave.com/2010/03/08/faster-php-kill-kill/">optimizing PHP applications</a> and how you can cope with the possibility of "Serious Traffic" that might come your way.
</p>
<blockquote>
PHP is easy...as programming languages go, that is. You can build sites in a real hurry. [...] Still, sooner or later success catches up with you and you want your site to cope with Serious Traffic...or cope with moderate traffic on a cheap virtual machine...or at the very least, not be dog-slow with just a handful of users on the system.
</blockquote>
<p>
He mentions things that can slow down the application (like timeouts on web server connections or not optimizing the site with a "thin" server for non-PHP requests). He mentions the <a href="http://php.net/manual/en/book.apc.php">alternative PHP cache</a> (APC) as one possible way to help, some tips on making your Apache server more efficient and pushing those lighter requests off to a smaller, built-for-speed server using FastCGI.
</p>]]></description>
      <pubDate>Wed, 17 Mar 2010 16:36:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework: Surviving The Deep End - Performance Optimisation]]></title>
      <guid>http://www.phpdeveloper.org/news/11716</guid>
      <link>http://www.phpdeveloper.org/news/11716</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/378-Zend-Framework-Surviving-The-Deep-End-Performance-Optimisation-For-Zend-Framework-Applications.html">posted the appendix</a> for his book "Zend Framework: Surviving the Deep End" that can be found <a href="http://www.survivethedeepend.com/">here</a>.
</p>
<blockquote>
This week's chapters explores some of the performance issues and tactics worth being aware of when developing Zend Framework, and indeed other, applications. It's a rather long piece of work but I hope it proves enlightening. Comments are, as usual, welcome and you can attach them to any paragraph in need of attention.
</blockquote>
<p>
Next up will be a chapter focusing on the Model portion of the MVC structure, so keep an eye to <a href="http://blog.astrumfutura.com/">his blog</a> for more chapters as they're released.
</p>]]></description>
      <pubDate>Mon, 12 Jan 2009 07:52:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Forget SEO - what about Test Optimization?]]></title>
      <guid>http://www.phpdeveloper.org/news/10327</guid>
      <link>http://www.phpdeveloper.org/news/10327</link>
      <description><![CDATA[<p>
In a <a href="http://michaelkimsal.com/blog/forget-seo-what-about-test-optimization/">new post</a> today, <i>Michael Kimsal</i> walks through the procoess he followed to try and get the most optimized testing environment he could around a <a href="http://www.wordpress.org">WordPress</a> installation he already has set up.
</p>
<blockquote>
I've recently been working on a project trying to take an existing customized wordpress site and create automated integration tests around parts of it.  I'm using <a href="http://www.phpundercontrol.org/">phpUnderControl</a>, <a href="http://www.phpunit.de/">phpUnit</a>, <a href="http://selenium-rc.openqa.org/">Selenium RC</a>, <a href="http://www.getfirefox.com/">Firefox</a>, <a href="http://en.wikipedia.org/wiki/Xvfb">Xvfb</a> (virtual frame buffer) and...well, I think that's it.
</blockquote>
<p>
He mentions the two issues he came across, both with the WordPress software (the "siteurl" setting and the pathing for the templates). He recommends that application code be portable to avoid problems like these. Applications that can be dropped in anywhere and "just work" can help not only make life easier for the installer but also for the tester.
</p>]]></description>
      <pubDate>Tue, 03 Jun 2008 08:49:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Book Review: Professional Search Engine Optimization with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8246</guid>
      <link>http://www.phpdeveloper.org/news/8246</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, <i>Cal Evans</i> <a href="http://devzone.zend.com/article/2337-Book-Review-Professional-Search-Engine-Optimization-with-PHP">has posted a review</a> of one of Wrox Press' latest PHP-related offerings, "Professional Search Engine Optimization with PHP" (by <a href="http://www.seoegghead.com/">>Jamie Sirovich</a> and <a href="http://www.cristiandarie.ro/">Cristian Darie</a>).
</p>
<blockquote>
I'd like to say that this book has changed my way of thinking about SEO Professionals, but it hasn't. It has, however, given me enough information so that I can make my own projects more SE friendly and allow me to help my friends do the same.
</blockquote>
<p>
<i>Cal</i> <a href="http://devzone.zend.com/article/2337-Book-Review-Professional-Search-Engine-Optimization-with-PHP">talks about</a> the contents of the book, including his favorite chapter (chapter 2) that gives a quick-hit primer to the world of search engine optimization. The rest of the book is divided up into specialization topics inside of SEO like "SE Friendly URLs", "Duplicate Content" and "Link Bait". Plus, check out what <i>Cal</i> has to say about one of the Appendixes...
</p>]]></description>
      <pubDate>Fri, 13 Jul 2007 16:19:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint Web Tech Blog: OSCON 2006: Gettting Rich with PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/5892</guid>
      <link>http://www.phpdeveloper.org/news/5892</link>
      <description><![CDATA[<p>
In another report from this year's O'Reilly Open Source Convention, <i>Kevin Yank</i> <a href="http://www.sitepoint.com/blogs/2006/07/28/oscon-2006-gettting-rich-with-php5/">has covered</a> <i>Rasmus Lerdorf</i>'s talk - "Getting Rich with PHP 5" - a look at building rich web applications in PHP5.
</p>
<blockquote>
PHP's creator, Rasmus Lerdorf, gave a surprising talk on building PHP rich web applications using PHP5-suprising, because fully half the talk focused on low-level PHP optimization techniques. The <a href="http://talks.php.net/show/oscon06">slides</a> are available online.
</blockquote>
<p>
<i>Kevin</i> <a href="http://www.sitepoint.com/blogs/2006/07/28/oscon-2006-gettting-rich-with-php5/">gives an overview</a> of the talk, mentioning some of <i>Rasmus'</i> examples, the bottlenecks he defined, and the time spent on the new functionality in the PHP 5 series.
</p>]]></description>
      <pubDate>Thu, 27 Jul 2006 13:51:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dublish.com: Simple Optimization for PHP and MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/5661</guid>
      <link>http://www.phpdeveloper.org/news/5661</link>
      <description><![CDATA[<p>
Dublish.com has <a href="http://www.dublish.com/articles/10.html">this post</a> from a little while back with some good tips on how to squeeze the most out of your MySQL and PHP scripts with some simple, handy tips.
</p>
<p>
The MySQL list includes things like:
<ul>
<li>MySQL is interpreted from right to left so you should put the most significant limiters as far to the right as possible.
<li>Use indexes on the columns in the WHERE clause and on the columns you want to ORDER BY.
<li>Sometimes mysql_free_result() end up wasting more memory than it saves. Check the difference with memory_get_usage().
<li>Use NOT NULL as default value as much as you can, it speeds up execution and saves one bit.
</ul>
</p>
<p>
And the PHP list includes:
<ul>
<li>When echoing strings it's faster to separate them by comma instead of dot.
<li>Unset your variables to free memory, especially large arrays.
<li>Many code blocks might slow down the interpretation a little bit.
</ul>
</p>
<p>
There's also all sorts of other tips <a href="http://www.dublish.com/articles/10.html">down in the comments</a> as well.
</p>]]></description>
      <pubDate>Thu, 22 Jun 2006 12:32:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hackers Center Blog: PHP optimization - Save the server!]]></title>
      <guid>http://www.phpdeveloper.org/news/5347</guid>
      <link>http://www.phpdeveloper.org/news/5347</link>
      <description><![CDATA[<p>
On the blog at HackersCenter.com, there's <a href="http://blogs.hackerscenter.com/dcrab/?p=9">a new post</a> looking a a few simple ways to help optimize your PHP code. Sure, most of the everyday scripts developers write don't benefit a whole lot from shaving off those extra milliseconds in execution time, but it's always a good practice to get into when you get into those larger scripts.
</p>
<quote>
<i>
<p>
Php optimization is the skill of fine tuning an application to extract maximum performance with minimum server load. Many of my clients in the past have wondered why I spend extra hours just to get the script execution time to be cut down by 1 second.
</p>
<p>
However if you consider an average large scale application, it would receive about 1000 unique visitors an hour (approximation based on average statistics for my clients websites) and an average of about 8 page views per user. This would mean that your server would face 8000 requests for that page every hour.
</p>
</i>
</quote>
<p>
The author <a href="http://blogs.hackerscenter.com/dcrab/?p=9">follows this up</a> with a few more stats before getting on with the heart of the article - the tips and tricks. They demonstrate a sample function to help test the speed of the script before looking at different topics of optimization - outputting an array, regular expressions, using references, and file inclusion. For each, there's a "slow way" and a "fast way" - I wonder which is the better choice...
</p>]]></description>
      <pubDate>Wed, 10 May 2006 06:30:09 -0500</pubDate>
    </item>
  </channel>
</rss>
