« Sharing Google Writely Invites | Main | Website Design Mistakes »
August 01, 2006
JavaScript And Threads
When you use XMLHttpRequest to fetch or send data, you create methods or functions to act as callbacks. At some point the callbacks are run, and data magically appears into your classes. That feels a lot like threading to me, the fact it’s asynchronous. I remember reading Thomas Fuchs saying something about JavaScript being single-threaded, a quick search found the comment: [Rails-spinoffs] Ajax.Request synchronization (onSuccess beforeonComplete?).
|
Related Products: |
Read more from this blogger: |
Posted on August 1, 2006 12:40 PM by ruby o600.
Filed in Firefox under ruby on rails.
Permalink
| Comments (0)