Archive for the ‘Code’ Category

The Problem
As just about everyone knows the iPhone is incapable of playing any sort of Flash through the mobile Safari browser and generally speaking everyone has adapted and found work arounds or changed their sites accordingly as to not require Flash for certain things.
On my personal blog about music, one of the most used plugins [...]

Ryan

Caching, Etags & PHP sessions

September 23, 2009 by Ryan in Code, PHP


I spent more than half a day yesterday trying to uncover why the code that delivers our Javascript and CSS suddenly quit being cached locally in the browser. Seemingly out of the blue, every page load was pulling down a new copy of the files, which is unacceptable when they are over 100kb even in [...]

Ryan

PHP Benchmark/Timer Class

August 20, 2009 by Ryan in Code, PHP


Overview
This is a PHP class that calculates the time between specified points. It can be used to determine how long your page took to generate or how long certain loops take to run. This class is very flexible because it allows you to specify any number of “marker” points in the code and then compare [...]