IE's "opt-in" nightmare comes true

By crisp on Wednesday 23 January 2008 00:50 - Comments (2)
Category: Browsers, Views: 3378

Well, obviously MS did not heed my last year's warning and went ahead with this ridiculous idea of having webdevelopers opt-in to "really really" standards-compliant mode (something you already get for free, as in beer, in all other browsers) from IE8 onwards. Or should I say: first opt-in to IE8's rendermode, then some years later change it and opt-in to IE9's rendermode and so on? Unless ofcourse you want to go "edgy", but then ofcourse MS doesn't guarantee that when something works correctly (as in: according to existing standards, not MS' version of those) in IE8 they won't break it again in IE9.

Read more »

Oud & nieuw @ huize crisp nl

Door crisp op woensdag 02 januari 2008 01:35 - Reacties (2)
Categorie: Privé, Views: 1239

We zitten alweer ruim een dag in het nieuwe jaar, maar toch wil ik deze ruimte nog graag benutten om iedereen die dit leest het allerbeste te wensen voor 2008!

Lees verder »

Formatting a multi-level menu using only one query

By crisp on Sunday 23 December 2007 23:46 - Comments (9)
Category: PHP, Views: 3158

In the programming forum (dutch) on Gathering of Tweakers I often see people struggeling with multi-level menu's stored in a database and the formatting of such menu in HTML.

This is actually quite a common programming problem that can be solved using some kind of recursion or stack-based processing in order to create a tree out of a flat datastructure containing parent-child relations. However, in most cases the final solution that is presented involves seperate queries being executed inside a loop or inside a function that is called recursively which retrieves the child-elements for a specific parent. In situations where the menu has many items and/or has many levels this could easily result in dozens of queries being executed only to generate something simple as a treelike-output.

I would like to show you how this can be done using only a single query.

Read more »

Banners en browsing performance impact nl

Door crisp op maandag 17 december 2007 00:06 - Reacties (13)
Categorieën: Internet, Tweakers.net, Views: 2193

Het zal niemand verbazen dat reclame op websites (banners) een negatieve impact hebben op de 'browsing performance': je moet immers meer data ophalen en dat moet ook nog eens allemaal gerendered en getoond worden door je browser.

Lees verder »

A Dutch Front-End Organisation in the make

By crisp on Monday 17 September 2007 00:19 - Comments (0)
Category: Other, Views: 1010

On July 2'nd Peter-Paul Koch (better known as the quirksmode.org-man) presented his ideas for a front-end organisation (he calls it a 'guild' after the midieval monopolistic guilds). My first thoughts after reading the program were that this was nothing more than an attempt to introduce some sort of self-proclaimed elite-status for it's members to get an advantage over other parties when presenting themselves to big employers such as the Dutch Government.

Read more »