Shawn Stringfield wrote: > Anyone know of any great resources for learning asynchronous js?
Practice. Seriously, there are no particular difficulties in the ideas of asynchronous programming. If you've ever done any event-based programming, even just `onClick=...`, then you've already made the conceptual leap. Now it's just a matter of practicing. Write some code. Take some synchronous API and start to imagine how you'd have to change it if you wanted to allow certain parts to be asynchronous. Watch how this then spreads through various layers of the API. Write more code. See what breaks. Look at the various Promises APIs. [1] Investigate Dojo's Deferred or the jQuery implementation. Write more code. That's all it takes (except that you'll probably want to write a bit more code!). -- Scott [1] http://wiki.commonjs.org/wiki/Promises -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
