<?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>Fri, 09 Jan 2009 22:46:42 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Working with RAR, LZF and BZ2 Compression Formats in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11334</guid>
      <link>http://www.phpdeveloper.org/news/11334</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/article/4004-Working-with-RAR-LZF-and-BZ2-Compression-Formats-in-PHP">this new tutorial</a> from <i>Vikram Vaswani</i> covering the use of different archive formats (like RAR, LZF and BZ2 compression methods) from inside PHP.
</p>
<blockquote>
When it comes to dealing with different file formats, it's hard to faze PHP. XML documents, PDF files, JPEG images, MP3 media...you name it and, chances are, there's a PHP extension to handle it. And so it is with compression formats like RAR, LZF and Bzip2 - although these archive formats are far less common today than the ubiquitous TAR and ZIP formats, they are still actively used by many applications and projects, and continue to be supported in PHP via PECL extensions.
</blockquote>
<p>
He pulls in a few PECL extensions to give PHP the power it needs, both for unix-based systems and Windows DLL files. He includes some sample code showing how to open up a rar file and list the contents inside as well as extract the files themselves. And, of course, code examples for compressing files into a new archive is included too.
</p>]]></description>
      <pubDate>Mon, 03 Nov 2008 12:03:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Responsive AJAX applications with COMET]]></title>
      <guid>http://www.phpdeveloper.org/news/6379</guid>
      <link>http://www.phpdeveloper.org/news/6379</link>
      <description><![CDATA[<p>
From PHPClasses.org today, there's <a href="http://www.phpclasses.org/blog/post/58-Responsive-AJAX-applications-with-COMET.html">a new article</a> describing the combination of a few technologies - more specifically Ajax, Comet, and PHP - to create responsive applications.
</p>
<blockquote>
<p>
This post describes an approach used to implement highly responsive AJAX applications using the COMET approach. It describes in detail how the AJAX COMET approach can be implemented in PHP.
</p>
<p>
It also discusses how HTTP compression and chunking affect AJAX response delays, as well aspects that may influence the choice between Apache 1.3.x with mod_gzip versus Apache 2.x with mod_deflate for AJAX COMET applications.
</p>
</blockquote>
<p>
<i>Manuel</i> breaks <a href="http://www.phpclasses.org/blog/post/58-Responsive-AJAX-applications-with-COMET.html">the tutorial up</a> into sections:
<ul>
<li>Multiple response AJAX requests
<li>COMET: Multiple response AJAX request implementation
<li>HTTP compression
<li>Page compression delays
<li>Avoiding mod_gzip dechunking
<li>Apache 2.2.x with mod_deflate
</ul>
For each topic, there's a bit of explaination and some links to reinforce the ideas. There's not really any code, but he does link to various classes that can help combine to meet the goal.
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 13:44:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll Question: What is the Top Criterion for Scaling PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/6185</guid>
      <link>http://www.phpdeveloper.org/news/6185</link>
      <description><![CDATA[<p>
The International PHP Magazine has <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26280,nodeid,5.html">posted the results</a> of the question asked in their latest poll - "What is the Top Criterion for Scaling PHP?"
</p>
<p>
Of the six options they provided:
<ul>
<li>Object code caching
<li>Template systems
<li>Distributed object-caching systems
<li>PHP variables that can be set
<li>Output Compression
<li>Other things that may help
</ul>
one stood out as a clear winner - "Object code caching". Bringing up second place was "Distributed object-caching systems" and the other options coming in pretty close behind.
</p>
<p>
Be sure to cast your vote for their <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26283,nodeid,5.html">latest poll question</a> - "Which is the Most Common Database Problem?"
</p>]]></description>
      <pubDate>Thu, 31 Aug 2006 10:41:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: IPM Poll Question: How to Speed up Your Site?]]></title>
      <guid>http://www.phpdeveloper.org/news/6106</guid>
      <link>http://www.phpdeveloper.org/news/6106</link>
      <description><![CDATA[<p>
The International PHP Magazine has posted <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26243,nodeid,5.html">the results of their latest poll</a> today, asking the question "what's the best way to speed up your site?"
</p>
<p>
Options included:
<ul>
<li>Reduce overall latency by reducing HTTP requests
<li>Save your images properly
<li>Strip extraneous PHP calls
</ul>
With the option of "Miscellaneous thoughts" coming in at the number one place. The next step down was a tie between "Save your images properly" and "Reduce overall latency by reducing HTTP requests" with "Compression" following close behind.
</p>
<p>
Be sure to cast your vote in <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26246,nodeid,5.html">this week's poll</a> asking "What is the Top Criterion for Scaling PHP?"
</p>]]></description>
      <pubDate>Tue, 22 Aug 2006 08:27:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog: Scaling PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6034</guid>
      <link>http://www.phpdeveloper.org/news/6034</link>
      <description><![CDATA[<p>
On the JSLabs blog today, there's <a href="http://www.whenpenguinsattack.com/2006/08/14/using-php-in-large-websites-redone/">a guide</a> seeking to help you optimize your PHP through a number of simple steps - six of them to be exact:
<ul>
<li>object code caching
<li>Template systems
<li>Distributed object caching systems
<li>PHP variables that can be set
<li>Output Compression
<li>Other things that may help
</ul>
</p>
<p>
Under <a href="http://www.whenpenguinsattack.com/2006/08/14/using-php-in-large-websites-redone/">each item</a> there is more information, links, and even examples of the config files to help you along your way.
</p>]]></description>
      <pubDate>Tue, 15 Aug 2006 07:13:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Stamatiou's Blog: 5 Ways to Speed Up Your Site]]></title>
      <guid>http://www.phpdeveloper.org/news/5658</guid>
      <link>http://www.phpdeveloper.org/news/5658</link>
      <description><![CDATA[<p>
<i>Paul Stamatiou</i> shares with us today <a href="http://paulstamatiou.com/2006/06/22/5-ways-to-speed-up-your-site/">five ways to speed up your site</a>, some quick and easy recommendations to making your site fly.
</p>
<blockquote>
<p>
Throughout the blogosphere I'm always seeing these blogs, that while they look great, are horribly slow and overburdened. Over the past few months I have become somewhat of a website optimization specialist, bringing my own site from an over 250kB homepage to its current 34kB. 
</p>
<p>
I will help you achieve some of the same success with a few, powerful tips. Most of these are common sense, but I can't stress their importance enough. I will concentrate on the website and not the server in this article, as there are too many things to discuss when it comes to server optimization.
</p>
</blockquote>
<p>
The <a href="http://paulstamatiou.com/2006/06/22/5-ways-to-speed-up-your-site/">five tips</a> mentioned include "Reduce Overall Latency by Reducing HTTP Requests" and "Compression", each with a paragraph or so of explaination as to what it is and how to implement it. There's even a PHP-specific one that talks about a paring down of the bits of functionality that really aren't needed.
</p>]]></description>
      <pubDate>Thu, 22 Jun 2006 07:31:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: An Object-based Approach to HTTP Compression in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5189</guid>
      <link>http://www.phpdeveloper.org/news/5189</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/An-Objectbased-Approach-to-HTTP-Compression-in-PHP/">part two</a> of their series on speeding up your page load times with HTTP compression, this time looking at a more object-oriented approach to handling the data you want to compress.
</p>
<quote>
<i>
<p>
Over the <a href="http://www.phpdeveloper.org/news/5147">first tutorial</a> of this series, I developed some hands-on examples, aimed at illustrating how "Gzip" encoding can be used within PHP scripts to compress the output generated by dynamic PHP pages. After transferring the encoded data to the client, contents are uncompressed and finally displayed on the browser.
</p>
<p>
By the end of this article, you should have the appropriate knowledge for building a simple data compressor class, in addition to using HTTP compression for reducing the download time of object-generated web pages.
</p>
</i>
</quote>
<p>
They start with the creation of a simple <a href="http://www.devshed.com/c/a/PHP/An-Objectbased-Approach-to-HTTP-Compression-in-PHP/1/">data compression class</a>, with functions to see if the browser supports gzip encoding and to get/send/compress the actual data. With the sample class created, they put it to the test with a more real-world example - echoing out user information from a MySQL database.
</p>]]></description>
      <pubDate>Mon, 17 Apr 2006 13:06:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using HTTP Compression in PHP - Make Your Web Pages Load Faster]]></title>
      <guid>http://www.phpdeveloper.org/news/5147</guid>
      <link>http://www.phpdeveloper.org/news/5147</link>
      <description><![CDATA[One of the holy grails of web development is to have your pages lost the fastest way possible. People spend hours optimizing images and condensing the amount of data they actually send over the wire to reach this goal. There are, however, other ways to achieve some of the same results, HTTP compression being one of them. For those that aren't familiar with the topic, DevShed has <a href="http://www.devshed.com/c/a/PHP/Using-HTTP-Compression-in-PHP-Make-Your-Web-Pages-Load-Faster/">this new article</a> to bright you up to speed.
<p>
<quote>
<i>
This article, the first of three parts, shows you how to make PHP pages load faster by showing you how to compress dynamic PHP pages. Techniques covered include using PHP's built-in "gzencode()" function, along with output buffering control functions.
<p>
Since PHP offers a powerful built-in library for handling HTTP compressed data, over this series I'll explain the basics of working with HTTP-compressed PHP pages. I'll illustrate, with several code samples, different methods for compressing dynamic PHP pages.
</i>
</quote>
<p>
They start with the basics, writing up a simple script to compress the output from a simple PHP file, one that displays records from a "users" database. With that foundation laid, they move on to the heavy stuff - using more than just simple output buffering to speed up those pages. Their <a href="http://www.devshed.com/c/a/PHP/Using-HTTP-Compression-in-PHP-Make-Your-Web-Pages-Load-Faster/2/">new example</a> makes use of the gzip functions in PHP to compress the data even further. A gzip header is passed off to the browser and it pulls it all neatly compressed over to open on the client-side.]]></description>
      <pubDate>Mon, 10 Apr 2006 15:26:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[When Penguins Attack:  Tuning IIS for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4729</guid>
      <link>http://www.phpdeveloper.org/news/4729</link>
      <description><![CDATA[On the "When Penguins Attack" blog today, there's <a href="http://blinduser.blogspot.com/2006/01/tuning-iis-for-php.html">a brief guide</a> to help you tune your IIS installation for PHP.
<p>
<quote>
<i>
IIS is a multi-threaded web server available on Windows NT and 2000. From the Internet Services Manager, it is possible to tune the following parameters: Performance Tuning based on the number of hits per day, Bandwidth throttling, Process throttling, Timeout, and HTTP Compression.
</i>
</quote>
<p>
He <a href="http://blinduser.blogspot.com/2006/01/tuning-iis-for-php.html">looks at</a> tips for each of the above, as well as other things like the memory cache size and max pool threads that can be changed with the help of the registry editor...]]></description>
      <pubDate>Wed, 25 Jan 2006 07:17:08 -0600</pubDate>
    </item>
  </channel>
</rss>
