All this asynchronous javascript just cries out for something way cool like signals and slots from the netwindows.org project {Link}
Basically instead of only being able to attach event listeners to DOM events it lets you connect any 2 functions so that when function 1 is called, function 2 is automatically called (and passed the same arguments by default). It does a lot of other spiffy things too.
It's perfect for asynchronous event handling in Ajax based UIs and lets you do away with timeouts and such.
All this asynchronous javascript just cries out for something way cool like signals and slots from the netwindows.org project {Link}
Basically instead of only being able to attach event listeners to DOM events it lets you connect any 2 functions so that when function 1 is called, function 2 is automatically called (and passed the same arguments by default). It does a lot of other spiffy things too.
It's perfect for asynchronous event handling in Ajax based UIs and lets you do away with timeouts and such.