Archive for the ‘php’ Category

PrestaShop vs ZenCart

Monday, December 22nd, 2008

ZenCart vs PrestaShop is a difficult comparison. Not because they are similar, they are not, but because they both have different qualities that endear them to me. 

(more…)

Using htaccess to provide a fast secure image cache

Thursday, December 18th, 2008

Apache and htaccess are an amazing combination. Many write that the use of htaccess is a performance bottleneck, but I find that the facilities it exposes change the way that I build sites, and enables far more efficient solutions that I would otherwise have to produce.

(more…)

Amazon Web Services

Sunday, December 14th, 2008

I’ve just managed to build a first attempt at a site driven by Amazon Web Services, and boy was that an effort. Forget preconceptions, Amazon do things their own way. They have a kind of tree, a browse tree, made of (you guessed it) browse nodes. Within that tree you will find a node for DVDs that really means all disc based video, and for DVD comedy, that means all disc based comedy video. You will also find a node for DVD exclusively, so no Blu-ray. And you’ll fund a node for Blu-ray exclusively, but under these nodes there is nothing else, no categories, no comedy.

(more…)

Using ImageMagick from PHP

Monday, December 8th, 2008

Do you use GD library, Imagick, or the ImageMagick command line?…   For me command line was the answer, here’s how I did it in PHP.

(more…)

Ubuntu on 4GiB

Thursday, August 28th, 2008

This is about Ununtu, but first an admission. I run Vista, ok I admit it. It’s slick and smooth, but it doesn’t tolerate badly written software and/or drivers. My install was stable for a while, but slowly went down hill..  After a fresh install all is ok and slick again :-).

(more…)

Wordpress woes [edit... success]

Wednesday, June 18th, 2008

I have changed permalinks in wordpress to be pretty. What immediately resulted was a 403: Forbidden.

Well, what really happens when you change permalinks is that wordpress creates a .htaccess file to do some URL re-writing. But often apache security does not allow re-writes, due to FollowSymLinks not being enabled… Don’t ask.. The magic incantation is to add “Options +FollowSymLinks” to that wordpress generated .htaccess file, at the start preferebly.

(more…)