<?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, 08 Jan 2009 02:58:37 -0600</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[IBM developerWorks: Use PHP to build a search engine optimization app]]></title>
      <guid>http://www.phpdeveloper.org/news/4991</guid>
      <link>http://www.phpdeveloper.org/news/4991</link>
      <description><![CDATA[The IBM developerWorks site has posted <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-seo1-i.html?S_TACT=105AGX01&S_CMP=HP">part one</a> of a new series - using PHp o build a search engine optimization application.
<p>
<quote>
<i>
PHP, a dynamic Web-based programming language, takes a variety of input formats and uses a built-in SOAP client to obtain information from the Web. PHP, combined with applications using search engine optimization (SEO), is a powerful tool for obtaining information from major search engines, allowing this information to guide a webmaster's online marketing and SEO strategies. Find out how to take advantage of these strategies by building the back end of an application to monitor and track your client's SEO efforts.
</i>
</quote>
<p>
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-seo1-i.html?S_TACT=105AGX01&S_CMP=HP">The application</a> takes in CSV files that contain keyword and domain combinations. The positions on each of the search engines is generated from these. You'll need a bit of prior PHP knowledge to work through it and you'll need a place where a web server, PHP, a database, and Java are installed.]]></description>
      <pubDate>Tue, 14 Mar 2006 15:43:26 -0600</pubDate>
    </item>
  </channel>
</rss>
