• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Callbacks, Promises, and Coroutines (oh my!): Asynchronous Programming Patterns in JavaScript

by on Oct 30, 2011

  • 23,905 views

This talk takes a deep dive into asynchronous programming patterns and practices, with an emphasis on the promise pattern. ...

This talk takes a deep dive into asynchronous programming patterns and practices, with an emphasis on the promise pattern.

We go through the basics of the event loop, highlighting the drawbacks of asynchronous programming in a naive callback style. Fortunately, we can use the magic of promises to escape from callback hell with a powerful and unified interface for async APIs. Finally, we take a quick look at the possibilities for using coroutines both in current and future (ECMAScript Harmony) JavaScript.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

17 Embeds 1,544

http://www.scoop.it 829
http://madmica.usask.ca 530
http://www.redditmedia.com 75
http://paper.li 30
http://a0.twimg.com 28
https://twitter.com 15
https://si0.twimg.com 9
http://sprint21er.wordpress.com 8
https://twimg0-a.akamaihd.net 4
http://us-w1.rockmelt.com 3
http://www.techgig.com 3
http://www.linkedin.com 3
http://coderwall.com 2
http://128.233.110.158 2
http://ja.twitter.com 1
http://safe.txmblr.com 1
http://pinterest.com 1

More...

Statistics

Likes
53
Downloads
287
Comments
2
Embed Views
1,544
Views on SlideShare
22,361
Total Views
23,905

12 of 2 previous next

Post Comment
Edit your comment

Callbacks, Promises, and Coroutines (oh my!): Asynchronous Programming Patterns in JavaScript Callbacks, Promises, and Coroutines (oh my!): Asynchronous Programming Patterns in JavaScript Presentation Transcript