As web applications increasingly move to thick-client JavaScript apps (or node.js backends), web developers are faced with increasing control flow complexity, especially around asynchronous functionality (callback hell). Nested callbacks are difficult to read and write, and maintaining scope within can present a challenge. Promises allow this complexity to be managed in a more readable and intuitive way.
In this talk I'll cover the terminology around Promises and demonstrate the implementation of Promises using several of the most popular libraries:
In this talk I'll cover the terminology around Promises and demonstrate the implementation of Promises using several of the most popular libraries:
Experience level:
Intermediate
Session Track:
Session Tracks (NERDSummit 2014)
Sessions Topics:
Speaker Bio(s):
Mike Harty is a Senior Consultant at NorthPoint Digital. He has been building websites and web applications for nearly 20 years, and is passionate about delivering clear, concise, and extensible solutions. He has worked with clients including Time Inc, LinkedIn, thePlatform, and NBC Universal.
- Log in to post comments