Nate's Programming Blog

Well this week and last I wrote a light-weight dependency injection framework based on spring’s context dtds. Did I do this because I’m so arrogant as to think I can do a better job than Spring? No, I would much rather just use spring, but unfortunately my current client has forbidden the use of spring […]

top

I discovered a new javascript technique recently thanks to James, this site and this site. It allows you to add and remove events without actually modifying the event function. The old way of doing this would be something like this: window.onload = function() { … }; This is not good, because if another class in […]

top

I decided to post this because I’ve basically worked on it all day and have finally got it to work. There were several tutorials online that explained how to get your windows laptop to see your shared iTunes music hosted on a Mac over the internet, but I couldn’t find any examples of how to […]

top

JSAN is another javascript library that I’ve just started using. It has several features, but the one I like the most so far is the ability to setup, essentially, classpaths and import other javascript objects without having to use script includes in the the actual html document. I’ll try to explain with an example. Let’s […]

top

Behaviour is a new javascript library that I’ve been using lately. It really compliments unobtrusive javascript. It allows you to define rules that map css style selectors to javascript functions. Here is an example of using a hyperlink class to define a common functionality for all links on a page that contain that class. window.onload […]

top