coffee, black   no sugar


20061021 Saturday October 21, 2006
declarative, let it swing!
200610212345

Mark gets some (light) flak for his hInclude html extensions. Since I use this code of his for some time, I though I write up my own experience with it as well.

Declarative Ajax, as it now seems to get called, has very nice properties. I made a widget based on the hInclude idea which was updating itself at a defined interval and also provided a toggle between two urls. Could have been any urls, but I used it to have a short and a verbose view of basically the same information.

So now, me and other people in the project, with limited javascript knowledge, could plug it into the pages very easily. Fixes where isolated to one separate js file. Nice usage, nice design. Definitely worth confusing some html validators.

Using it now not only makes nice web apps, but it is vital in collecting experience for a next step in HTML and the web experience. Once the relevant patterns are seen, it can (and should) be folded back into standards. These then can be implemented by browsers natively, getting rid of the javascript again. What Mark Baker describes as the pendulum.

Technorati Tags: , ,