Trailing commas and unfeasibly high line numbers July 8th, 2008
Bursting IE’s Javascript parser, or: generating bizarre error messages through subprocess apoptosis
Garbage collection, in a very real sense
Bursting IE’s Javascript parser, or: generating bizarre error messages through subprocess apoptosis
A hundred years from now, all code will look both similar and different.
Your editor will become your browser will become your IDE. The process has already begun. Please wait.
Proof of concept, more than anything else: how to hook up to a recalcitrant Flash-based interface.
In previous posts (part 1, part 2) I established the possibility that there were advantages to making Javascript more functional, to bring it in line with CSS and XSL. I didn’t say what these were, particularly, but I then provided a few bits and pieces on top of jQuery to make Javascript just that: functional [...]
If you’re here, then you probably came from here, and you want to make Javascript more functional. If you didn’t come from there—and this is getting a bit like a Choose-Your-Own-Adventure book, isn’t it?—then you might want to go there first, to see if you want to be here.
So: functional Javascript. Not just functional, but [...]
There are three main technologies that your browser employs to present HTML for you: XSL, CSS and Javascript. The first two of these are functional: that is, they turn your incoming (X)HTML documents into a set of functions, or behaviours if you like. Because CSS isn’t generally considered a language, let alone a functional one, [...]
As the natural extension of Gareth Rushgrove’s bookmarklets for inserting the Dojo or YUI Javascript toolkits mentioned by Simon, here’s a tidying-up of a bookmarklet I’ve been using to bring in any Javascript using user input via a popup prompt:
Insert-JS bookmarklet
javascript:void(function(){
var%20s=document.createElement("script");
s.src=prompt("Full%20URL:");
document.getElementsByTagName("head")[0].appendChild(s);
}())
I was originally appending it to the body as an invisible div, making use of [...]
Steve compares “graceful degradation” with “progressive enhancement.” Mostly he takes issue (rightly) with the rhetorical spin that the former applies to the idea of building a website. But I think you can compare them with each other as if they were two different types of crowbar instead: two ways of prising open the task in [...]
While Picnik gradually converts the functionality of desktop image processing software into online tools (in the hope, presumably, of being bought up by one of the big players), Flash has found other, more piecemeal uses in augmenting the image and font functionality of your average browser. Hot on the heels of sIFR, which replaces text [...]