Archive for February, 2008

JavaScript parasitic inheritance, power constructors and instanceof.

Thursday, February 21st, 2008

Abstract. This posting shows how one can make Crockford's power constructor functions play nicely with the JavaScript keyword 'instanceof.' [update: March 18, 2008. I asked Crockford what he thinks about this pattern, and he actually discourages the use of 'instanceof' -- instead, he prefers to "... rely instead on good design ...

Designing client/server web-applications

Monday, February 18th, 2008

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 communicate using HTTP client is developed in JavaScript (GUI is made ...