Skip to content

Category Archives: Javascript

Creating js files with Rhino (from JSON)

13-Nov-07

(This is primarily a note to myself)
I've been playing with Rhino. Specifically, reading in json objects, turning that into normal, runnable objects and saving that to a file so browsers can run it. More specifically, the code that transforms the JSON to an object in the browser should be exactly the same as the one [...]

ActsAsUndoable

18-Jul-07

With web apps becoming more and more like Desktop apps, it seems like user interfaces need be more like desktop user interfaces too. Some of these web apps can have a complex UI and their users need to be able to feel comfortable with it. Of course, making the UI as simple as possible is [...]

AjaxEvent

16-Jul-07

Tim Huegdon has a great post about a really rather sweet piece of code called AjaxEvent over at his site, nefariousdesigns. Developed with Mark Aidan Thomas, AjaxEvent is an object that wraps around the YUI Connection and CustomEvents that makes managing multiple, distinct ajax calls really easy.

Another Tabbed Interface

15-May-07

This is a rather belated post and is sort of a continuation of my last post about Aspect Oriented Programming. I've made yet another tabbed interface widgety thing (like the 'tubes needs another one) that uses AOP to add additonal features. A tabbed interface widget provided a nice problem for me to experiment with AOP. [...]

JS Fun

25-Mar-07

For the last few months I've been playing around with different design patterns and methodologies in Javascript. I've been looking at the Composite pattern and also Aspects Oriented Programming (AOP).
AOP is a way of changing the behaviour of existing code without modifying it. It does this by providing, what AOP calls, advice at certain [...]

Another LiveInfo fix

24-Feb-05

Andrew Gregory reported some bugs in Opera 7.54u2. The bug in Opera 7.54u2 turned out to be rather strange. Any opera browser below 7.6 uses an iframe and I check the html within the frame to see if it is loaded. I use the text </liveInfo> as that is the root node. In 7.54u2, there [...]

LiveInfo Update

21-Feb-05

Just a minor update release on LiveInfo. Version 1.01 just tidies up some Javascript warnings that sometimes occur.

Introducing LiveInfo..

14-Feb-05

Directly evolved from liveSearch, is a updated version which I'm calling liveInfo. As can be seen at chregu's blog LiveSearch displays live search results while a user enters the search text. You've probably seen Google Suggest which uses the same technology (XMLHTTPRequest).
One of the coolest things about liveSearch is the keyboard navigation where users, when [...]

Unobstrusive Javascript

13-Feb-05

An excellent article with examples of the correct way to do javascript.

Old Stock….

01-Sep-03

Looking through the cobwebs of my old laptop backups,I (re)discovered my old DHTML newsfeeds mini-app. This app lists all newsfeeds from moreover.com and provides a user interface to view the feeds and store favourite feeds and it does this without reloading the whole pages so it can be a component within a page rather than [...]