Writing Asynchronous code in JavaScript can often times be confusing. JavaScript callbacks allow you to handle concurrency by offering to run a function at the end of another function with the return values of the previous function. But callbacks come with a few downsides. The code needs to be well thought out for it to be easy to read. Nested callback often lead to highly indented and hard to read code and pushes novice developers into spaghetti code. It’s the most controversial feature in JavaScript.

Promises to the rescue! Or is it? It’s a new feature in ES6, or the next version of JavaScript, and will be hitting evergreen browsers soon. Promises is a new tool that allows developers to replace callbacks with a thenable. What’s a thenable? Come to the talk and find out!

I’ll also cover how to use it now rather than wait till all the browsers adopt it.

How to keep the flow of control within one function while reaching out to many others.

How to convert code (and whole libraries) from callbacks to promises and back.

How to keep your code tidy with Promises.

Finally, advanced tips and tricks with Promises.

RSVP on Meetup: http://www.meetup.com/dynamic/events/220724906/


When: Tuesday, March 10, 2015 @ 7:00pm

Where: Manoa Innovation Center (HICapacity), 2800 Woodlawn Drive, Suite #132, Honolulu, Hawaii 96822.

Street parking is available, as well as a limited amount of green vistor stalls are available. Please do not park in the reserved stalls.


Edward Kim

Edward Kim is a developer for Slickage Studios. He graduated from the University of Manoa with a Bachelor of Science degree in Information and Computer Science. Since graduating, he has mainly focused on building web services and applications for both the client and server side. He’s also has experience building Machine Learning Frameworks and A.I. type applications, worked with GIS type applications for the military, and has also dabbled in buzz words like Big Data and Cloud.