Donate us:
http://paypal.me/tipawais
Callback vs promises in javascript and nodejs. Asynchronous programming lead us to callbacks and promises. You will learn what is callback, what is promise, how to use promise and callbacks in javascript and where to use it.
JavaScript Book: http://amzn.to/2DoQS1i
Join facebook group:
https://www.facebook.com/groups/996305460498149/
More Javascript Tutorials:
Original source
Ali Çelebi
Good video! Thanks.
sunny benipal
thx its helpful
prabhu kadode
bro, your tut is awesome.. i loved it.. i used promises many times but i never understood them.. but tut made me so easy
Vitaly Snitovets
and don't forget to add .catch(error) in the end of promise chain
Zjelco Felder
Set playback speed at x1.5
Vinod Shalgar
Nice bro
kdr lxfkgndf
superb
Dan Hopper
You showed the resolve part. What about the reject part? How do you handle that?
Surender Singh
Awesome video. I like the way you describe the thinks but needs a real time example so it clear more in real application way..
Asma Noreen
excellent teaching style
Spring Always
how to achieve synchronous forloops
Sanit Thale
Too many ads
AMMOURI Ahmed
Confusing
Verlinden Wim
Thanks Omer, this is the best explanation I found on the net explaining the difference and use of both! Can I reach you by email?
Arjun Singh
forgot to explain 'reject' and catch method of promise
Masimba G Ndadzibaya
Thank you,…..very clear and detailed explanation….I benefited…..
Jan Kowalski
nice , thanks
Cyber xs
u make it more complicated
Dinesh babu Ramachandran
You are speaking slowly and clearly. This is great for a learner like us. Thanks for explaining
Minsung Kim
I'm pretty sure node.js is not a framework of JavaScript. Actually, it is a runtime environment for JS code.
In Out
It is great.
Namah Shrestha
I totally get the problem. It happens alot to me on ajax calls. The line below my ajax call fires before I get the value from my ajax call..and I too used the same technique. That is added all cases inside the success callback of the ajax so that they only fire after the value is recieved
AJ Dhillon
Awesome! Very well explained.
deepak deep
There is difference between promise and callback like Promise.all(). Using promise, we can call(asynchronously) all the promises inside an array.
Brahmaiah Nani
thx
Mukesh Kumar
Confusing
Данияр Бухаргожаев
Awais Mirza
In the "Java Game Programming – Develop a Brick Breaker Game"
the ball flies through the right wall. How to fix it?
Jon Yeo
+Awais Mirza can i ask you a question regarding intellij idea? i was trying to run on my computer command prompt to execute the intellij idea .java files. But i cant find the .java files and i always encounter "could not find main class". Could you help out? Really appreciate your java beginners video.
John Downington
+Awais Mirza
Could you take a quick look at your video called: "JAVA DATABASE TUTORIAL WITH SQLITE Create School management System". I have a really important question
thanks
Muhammad Adnan
Sir teach Javascript with html with. .. the example