Sunday, December 14, 2014

Rawb - efficient Knockout-friendly web controls

I've released Rawb (, a library of efficient web controls for use with Knockout ( The grid control is a particularly nice piece of work, in my opinion.

Spanner released

I thought I'd posted this months ago! Oh, well: Spanner is now available for download from . A tutorial site with documentation can be found at . In case you have forgotten, Spanner is my attempt to provide an integrated scheme for writing web applications as embedded domain-specific languages in C#. It's rather nice, if I say so myself.

Monday, February 10, 2014

Ahh, JavaScript, how I loathe thee.

Okay, to be fair, this complaint isn't really about JavaScript so much as the JavaScript/DOM interface. Specifically, the ordering of event handlers.

Whenever one finds oneself struggling with interacting event handlers, the order of which is not consistent across browsers, one ends up doing something horrid like this:

    myEventHandler = function (evt) {
        setTimeout(function () {
            ... my intended side-effect ...
        100 // Magic delay in milliseconds, 
            // which we pray will force the 
            // right order of events.

Bleh. A thousand times, bleh. Please write in if you have a good solution to this problem.