Submitted by Paul Houle (not verified) on Fri, 05/02/2008 - 17:13.
I've spent a lot of time in the last year working in GWT and Silverlight 2, both of which involve programming in a strictly typed OO language that uses XHR for communications: so you have the same issues with concurrency that you talk about in Javascript. I've been writing a series articles of patterns about how to write correct RIA's despite the fact that callbacks can run in a random order:
Oliver Steele lives in Western Massachusetts and commutes to downtown LA, where he is bringing an operating system from handwaving to reality. He was the architect of OpenLaszlo, the author of PyWordNet and other open source projects. His interests include programming languages, knowledge representation, information visualization, and math education. [more]
I've spent a lot of time in the last year working in GWT and Silverlight 2, both of which involve programming in a strictly typed OO language that uses XHR for communications: so you have the same issues with concurrency that you talk about in Javascript. I've been writing a series articles of patterns about how to write correct RIA's despite the fact that callbacks can run in a random order:
http://gen5.info/q/category/asynchronous-communications/