• Sunday , 22 September 2019

Callbacks vs Promises in JavaScript

Code Canyon



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

3d Ocean

Related Posts

30 Comments

  1. Ali Çelebi
    March 11, 2019 at 15:43

    Good video! Thanks.

  2. sunny benipal
    March 11, 2019 at 15:43

    thx its helpful

  3. prabhu kadode
    March 11, 2019 at 15:43

    bro, your tut is awesome.. i loved it.. i used promises many times but i never understood them.. but tut made me so easy

  4. Vitaly Snitovets
    March 11, 2019 at 15:43

    and don't forget to add .catch(error) in the end of promise chain

  5. Zjelco Felder
    March 11, 2019 at 15:43

    Set playback speed at x1.5

  6. Vinod Shalgar
    March 11, 2019 at 15:43

    Nice bro

  7. kdr lxfkgndf
    March 11, 2019 at 15:43

    superb

  8. Dan Hopper
    March 11, 2019 at 15:43

    You showed the resolve part. What about the reject part? How do you handle that?

  9. Surender Singh
    March 11, 2019 at 15:43

    Awesome video. I like the way you describe the thinks but needs a real time example so it clear more in real application way..

  10. Asma Noreen
    March 11, 2019 at 15:43

    excellent teaching style

  11. Spring Always
    March 11, 2019 at 15:43

    how to achieve synchronous forloops

  12. Sanit Thale
    March 11, 2019 at 15:43

    Too many ads

  13. AMMOURI Ahmed
    March 11, 2019 at 15:43

    Confusing

  14. Verlinden Wim
    March 11, 2019 at 15:43

    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?

  15. Arjun Singh
    March 11, 2019 at 15:43

    forgot to explain 'reject' and catch method of promise

  16. Masimba G Ndadzibaya
    March 11, 2019 at 15:43

    Thank you,…..very clear and detailed explanation….I benefited…..

  17. Jan Kowalski
    March 11, 2019 at 15:43

    nice , thanks

  18. Cyber xs
    March 11, 2019 at 15:43

    u make it more complicated

  19. Dinesh babu Ramachandran
    March 11, 2019 at 15:43

    You are speaking slowly and clearly. This is great for a learner like us. Thanks for explaining

  20. Minsung Kim
    March 11, 2019 at 15:43

    I'm pretty sure node.js is not a framework of JavaScript. Actually, it is a runtime environment for JS code.

  21. In Out
    March 11, 2019 at 15:43

    It is great.

  22. Namah Shrestha
    March 11, 2019 at 15:43

    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

  23. AJ Dhillon
    March 11, 2019 at 15:43

    Awesome! Very well explained.

  24. deepak deep
    March 11, 2019 at 15:43

    There is difference between promise and callback like Promise.all(). Using promise, we can call(asynchronously) all the promises inside an array.

  25. Brahmaiah Nani
    March 11, 2019 at 15:43

    thx

  26. Mukesh Kumar
    March 11, 2019 at 15:43

    Confusing

  27. Данияр Бухаргожаев
    March 11, 2019 at 15:43

    Awais Mirza
    In the "Java Game Programming – Develop a Brick Breaker Game"
    the ball flies through the right wall. How to fix it?

  28. Jon Yeo
    March 11, 2019 at 15:43

    +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.

  29. John Downington
    March 11, 2019 at 15:43

    +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

  30. Muhammad Adnan
    March 11, 2019 at 15:43

    Sir teach Javascript with html with. .. the example

Leave A Comment

You must be logged in to post a comment.