-
jQuery.imageLoader 1.0 Released
Posted on February 3rd, 2010 8 commentsA while ago I wrote an article on how to dynamically load images using jquery. This has turned out to be one of my most popular posts and I got a lot of feedback on it. As a follow-up I decided to package it up as a real-life jquery plugin and release it into the [...]
Read Entire Article
-
Load Your Ads Last
Posted on November 19th, 2009 2 commentsNobody likes ads but we can all agree they are a necessary component of doing business online. I recently had some experience dealing with adify, a aggregating ad platform which pipes in banners from a multitude of sources some with questionable practices in regards to loading performance. I had just launched a beatifully crafted website that employed all the tricks in the book for quick page loads and it was snappy… until we embedded the ad code. I like to load my images asynchronously and I like to execute javascript only once the document has finished loading so imagine the pain of patiently watching little animated gif spinners swirling away for as long as 6-30 seconds because the browser is choking on javascript from the banner ads in the middle of the page. Normally the solution would be to fix the javascript, but being a third party ad network, the embedded code was far beyond my control, so clearly this needed rethinking. I needed to figure out how to load the ads asynchronously as well.
Read Entire Article
-
Queued, Concatenated, and Gzipped Assets with the Zend Framework
Posted on November 18th, 2009 1 commentLinking assets to your templates and layouts is always a mine field. Every person has a different way of doing it and if it is done poorly, it can adversely affect the load time of your website, particularly if you have lots of websites. It’s helpful to understand how the http protocol fetches things like stylesheets and javascript files while it’s loading your page. In order to alleviate traffic for any individual server, a browser is limited to only so many concurrent requests to the same host. I do not recall what that limit is on each browser but I’m sure google does but in any case, if your site is of significant scope, chances are, you are going to need more assets than your browser can pull in at once. If you don’t believe me, install the yslow extension for firefox and run it on a page with many assets and you will see what i’m talking about.
Read Entire Article
-
Upload progress meters with PHP
Posted on July 28th, 2009 No commentsUpload progress meters have always been a point of pain when writing web applications in php. I don’t know if its still the case with php 5.3 but versions prior had no built in way to check on the status of a file upload mid-transit. This was especially irritating considering perl could do this. A [...]
Read Entire Article
Development, Javascript, PHPRelated Topics
-
Ajax – Too Much of a Good Thing
Posted on June 23rd, 2009 No commentsI’ve stated this many times, but working as a lead php developer at eroi has been both an adventure and educational. Each project brings new challenges, requirements, and the obligatory ‘experiments’. I’ve had the opportunity to deploy some pretty good size projects, at least what I would dub ‘enterprise’ scale websites with enough traffic to [...]
Read Entire Article
-
Asynchronous Image Loading with jQuery
Posted on April 9th, 2009 27 commentsI thought it would make for a good change of pace to switch gears from back end development to front end development. So far I’ve focused primarily on php development which makes sense since that is my job here at eROI. There are plenty of opportunities to get my hands dirty doing javascript development, and [...]
Read Entire Article


