Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

Sexy stylin’ and page generation insanity

Yeah. The style you’d see if you were reading this on Saturday, August 28, 2004, would be Silver Is The New Black, as featured on Alex King’s WordPress CSS Style Competition website. Unfortunately, part of its appeal can be attributed to its use of proprietry Mozilla CSS hooks, which just sucks.

Not because they’re not nice: they are. But the whole lack of standards compliance (coming from the platform everyone seems to be proclaiming as the uber-standards testing platform) is really irritating, regardless as to how well the Mozilla engine might handle established standards. If, in five years time, those “proprietry” hooks become used for something else, then we have five-year-old content which is screwed over. Admittedly, -moz-radius isn’t something which seems very likely to be applied elsewhere, but the principle remains.

So yeah… It’s nice and all, but I’m hacking it back to standards compliance, before making it look DIFFERENT from the original style. To be fair, this style is really only an intermediate step, until I can bang together something which I’m happy with. And even then, I’ll probably only be happy with it for a few weeks or months, but hey ;)

On another note, the page generation time on this magnificent piece of software really isn’t that bad. I haven’t had an opportunity to test it on a remote server yet, but I’d say it is DEFINITELY faster than my own blog script even with the calendar enabled.

This is being written with WordPress running on my own server, and generation times with the Calendar are averaging 0.037s. With Calendar disabled, this drops to a smooth 0.029s generation average. At any rate, even if I were being pounded with a few thousand hits per second (which, in case you hadn’t already realised, I’m not!), the generation times wouldn’t be substantial compared to the saturation of bandwidth!

I don’t really think that is a valid argument against WordPress, sorry. Anyhoo… I’m off to hack at styles and things!