Promise
Agenda
●
Callback & disadvantage
●
Promise & advantage
●
Promise v.s callback
●
Standard Promise, JQuery, Q
●
Demo
●
Q&A
What is a Callback function?
How does callback work in JavaScript ?
What is drawback of callback?
What is drawback of callback?
●
Code complexity
●
Modularity
●
Maintainability
●
Tightly coupled interface
Promise & advantage
Promise v.s callback
Standard Promise, JQuery, Q
Demo