Category Archives: General

Manual code specialization:a poor-mans partial evaluation in JavaScript

Recall the object function that Douglas Crockford is promoting in his work on prototypal inheritance in JavaScript: function object(p) { function F(){} F.prototype = p; return new F(); } The object function creates a new object which has the input … Continue reading

Posted in closures, code specialization, JavaScript, partial evaluation, performance, sharing | Leave a comment

fun with with – part II

Read this on the old blog. Here

Posted in General | Leave a comment

fun with with

Read this on the old blog. Here.

Posted in JavaScript, namespacing, scope, using, with | Leave a comment

HTML-free Web-applications with ExtJS [Designing client/server web-apps, Part I, Section III]

HTML-free Web-applications with ExtJS

Posted in Ext, Extjs, JavaScript, model view controller | Leave a comment

There is still HOPE for templates…

I am interested in JavaScript. One reason I got interested in JavaScript was a discussion about templating languages with Trifork colleagues Joakim and Kresten (or perhaps it would be more correct to say that we were discussing better ways of … Continue reading

Posted in General | Leave a comment

Extending Ext.data.Record to support inheritance for domain types

As I’ve previously blogged about, the JavaScript framework ExtJS provides an excellent support for developing models in Controller-Model-View architectures in web-browser client applications. One of the tools Ext provides is the function Ext.data.Record.create: using this one can easily create constructor … Continue reading

Posted in General | Leave a comment

Client/Server Web-apps — the model (Part I, Section II)

Client/Server Web-apps — the model

Posted in Ext, Extjs, HTML free web-applications, JavaScript, model view controller | Leave a comment

Designing client/server web-applications

This particular entry will be the first in a series concerning some recent thoughts I’ve had about designing so-called ‘rich’ web-applications, which I will be thinking of as any distributed client/server application that have the following properties: client and server … Continue reading

Posted in General | 7 Comments