66. More defensive programming practices to survive Web site traffic peaks
Updated on: 2010-02-10
Posted on: 2007-05-29
This is a follow-up of last months post about defensive programming practices. This time the article focus on practices to survive Web site traffic peaks, just like what happened to the PHPClasses site last month when the previous post was approved to Digg's front page.
This article also announces a new Web hosting comparison service available to the PHPClasses site users.
The participation of Borland/Codegear as sponsor of the PHP Programming Innovation Award is also covered on this article.
More ... Post a comment See comments (17) Trackbacks (13)
This article also announces a new Web hosting comparison service available to the PHPClasses site users.
The participation of Borland/Codegear as sponsor of the PHP Programming Innovation Award is also covered on this article.
More ... Post a comment See comments (17) Trackbacks (13)
65. 8 defensive programming best practices to prevent breaking your sites
Updated on: 2015-01-18
Posted on: 2007-04-25
This article describes software development practices that have been used to prevent problems that can break Web sites.
This message also explains recent changes that were made to the site newsletter user options to reduce the site bandwidth usage to keep the hosting costs on budget.
More ... Post a comment See comments (11) Trackbacks (15)
This message also explains recent changes that were made to the site newsletter user options to reduce the site bandwidth usage to keep the hosting costs on budget.
More ... Post a comment See comments (11) Trackbacks (15)
61. File upload progress meter for PHP 4, at last!
Updated on: 2011-11-22
Posted on: 2006-12-21
This post explains how to implement a upload progress meter for PHP sites, including those that still run PHP 4.
It also explains how to use a new plug-in of the Form Generation and Validation class to show an upload progress bar and live upload statistics using AJAX COMET requests.
The Forms Generation and Validation class is very important to the PHPClasses site since its beginning. This post tells about the story of the site and how this class motivated its creation.
More ... Post a comment See comments (35) Trackbacks (5)
It also explains how to use a new plug-in of the Form Generation and Validation class to show an upload progress bar and live upload statistics using AJAX COMET requests.
The Forms Generation and Validation class is very important to the PHPClasses site since its beginning. This post tells about the story of the site and how this class motivated its creation.
More ... Post a comment See comments (35) Trackbacks (5)
58. Responsive AJAX applications with COMET
Updated on: 2009-06-14
Posted on: 2006-09-27
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.
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.
More ... Post a comment See comments (18) Trackbacks (4)
It describes in detail how the AJAX COMET approach can be implemented in PHP.
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.
More ... Post a comment See comments (18) Trackbacks (4)