<?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:53:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Adam Culp: Clean Development Series (Parts 1, 2 & 3)]]></title>
      <guid>http://www.phpdeveloper.org/news/18704</guid>
      <link>http://www.phpdeveloper.org/news/18704</link>
      <description><![CDATA[<p>
<i>Adam Culp</i> has posted a three part series to his blog with some guidance about how to create "clean code" in your application development:
</p>
<blockquote>
Whether we're experienced developers or newcomers, we've all seen code that could/should have been done better.  Many times it's even code we ourselves wrote and revisited later for one reason or another.  I, for one, have seen my share of code written by a "past me" and wondered what on earth I was thinking when I wrote that.  Of course there has also been times when I was hired to fix another developers code, and it can be scary also.
</blockquote>
<p>There's three posts in the series:</p>
<ul>
<li><a href="http://www.geekyboy.com/archives/459">Part 1, Dirty Code (cause/effect)</a>
<li><a href="http://www.geekyboy.com/archives/479">Part 2, Dirty Code (why we do it)</a>
<li><a href="http://www.geekyboy.com/archives/494">Part 3, Dirty Code (how to spot/smell it)</a>
</ul>]]></description>
      <pubDate>Tue, 06 Nov 2012 11:26:26 -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>
    <item>
      <title><![CDATA[Jamroll.co.uk: Using Lighttpd to Dodge the Digg Effect]]></title>
      <guid>http://www.phpdeveloper.org/news/5591</guid>
      <link>http://www.phpdeveloper.org/news/5591</link>
      <description><![CDATA[<p>
Everyone that knows of the social news site <a href="http://www.digg.com">Digg.com</a> knows the problems that being linked on it can cause. Smaller servers get overloaded and pages can either be very slow loading or completely offline within minutes of being "digged". There's a few out there that have come up with different solutions, but several of them involve mirroring the content somewhere else. In <a href="http://fry.jamroll.co.uk:8080/digg-prevention.html">this proposal</a>, however, they combine the power of Lightttpd and PHP to handle the loads.
</p>
<blockquote>
<p>
We host a wide variety of sites, covering everything from converting your garage into a living space to video game addictions. Because we are such a small operation, being hit by a link from a big site such as Digg would be both a blessing and a curse.
</p>
<p>
In order to place our ads on each page, we use PHP's auto_append_file feature to run our advertisement code. By using PHP's other neato function, auto_prepend_file, I can create a small piece of PHP code to detect when the site is being hit by Digg. In this situation, I have chosen to use <a href="http://lighttpd.net/">Lighttpd</a> to handle the increased loads, because of its proven high performance with large numbers of concurrent connections.
</p>
</blockquote>
<p>
In <a href="http://fry.jamroll.co.uk:8080/digg-prevention.html">his example code</a>, he shows how you can detect when a user is coming from a digg.com page and take them to a cached version of the page they've requested (with the .cache extension).
</p>]]></description>
      <pubDate>Wed, 14 Jun 2006 20:25:34 -0500</pubDate>
    </item>
  </channel>
</rss>
