#83 JavaScript Bangla Tutorial | Callback Pattern | Asynchronous JavaScript - 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this video, I have described how to use JavaScript callback function pattern to handle asynchronous operations.
    References:
    👍 Asynchronous JavaScript Advanced Tutorial - lwsbd.link/asy...
    কোন প্রশ্ন থাকলে comment section এ comment করতে পারেন। সেই সাথে আমাদের একটি Facebook Group আছে। সেখানেও আপনার প্রশ্ন করতে পারেন। সব প্রয়োজনীয় link নিচে দেয়া হলো -
    👍 Facebook Group - / learnwithsumit
    👍 Like our Facebook Page - / letslearnwithsumit
    👍 Follow our GitHub Profile - github.com/lea...
    👍 Follow us at Instagram - / learnwithsumit
    👍 Follow me at - / sumit.analyzen
    👍 Learn with Sumit Official VS Code Theme - lwsbd.link/vst
    #learnwithsumit

ความคิดเห็น • 59

  • @sourovdeb6382
    @sourovdeb6382 11 หลายเดือนก่อน

    After watching several videos on the Callback function, I finally came across your video which clarified everything about this function. I believe this tutorial is the best JavaScript tutorial created by a Bangladeshi.
    Your tutorials have been an invaluable resource, sir. I want to extend my sincerest gratitude to you for taking the time to create them. Thank you for sharing your knowledge and expertise with us.

  • @jikumollick3441
    @jikumollick3441 2 ปีที่แล้ว +4

    এতো কঠিন একটি বিষয়কে আপনি একদম দুধভাত বানিয়ে দিলেন। আমার সৌভাগ্য , আমি আপনার টিউটোরিয়াল দিয়ে শুরু করেছি। অনেক অনেক ভালোবাসা জানবেন দাদা।

  • @iqrauszud1513
    @iqrauszud1513 2 ปีที่แล้ว +4

    ভাইয়া আপনার এই ভিডিও গুলা দেখে আজ পরিপূর্ণ বুঝতে পারলাম জাভাস্ক্রিপ্ট এসিঙ্কোনাস আর সিঙ্কোনাস...ধন্যবাদ ভাই এত সুন্দর কন্টেন দেওয়ার জন্য।

  • @BrightSkills
    @BrightSkills 2 ปีที่แล้ว +3

    এই প্যটার্ন টা বুঝতে আমার বেশ কয়েক দিন সময় লাগল.. আজ খুবই সহজ মনে হচ্ছে ..

  • @nahidulfahim
    @nahidulfahim ปีที่แล้ว +1

    Whenever I have to search anything on TH-cam about JS, I write the search term like "JavaScript Promises learn with Sumit". And the term becomes crystal clear when I hit the play button.
    Can't thank you enough vaia 💜

  • @Mehedihasan-ek2zg
    @Mehedihasan-ek2zg 2 ปีที่แล้ว +3

    Great example for callback function, i had ever seen.
    take love from my deepest heart.

  • @mdadnan2956
    @mdadnan2956 9 หลายเดือนก่อน +1

    first 12 mnt mathar upor diye gelo but porer time sheshe actually bujhte parlam what is call back function 😍

  • @Animesh878
    @Animesh878 หลายเดือนก่อน

    I am from india , i surf through many videos , but this where i completely understand the callback

  • @mashfikurrahman1115
    @mashfikurrahman1115 2 ปีที่แล้ว +2

    Really awesome Explanation with perfect example, Thanks Bahia

  • @mubin_ru
    @mubin_ru 2 ปีที่แล้ว

    Onek dhonnobad dada...apnar prothom je callback ,promise ,async await nia tutorial cilo oitar kichuta part bujha osompurno chilo.....akhon callback er ai tutorial ta dekhar por pora bepar ta clear holo.

  • @hakikatsareebitan
    @hakikatsareebitan 4 หลายเดือนก่อน

    just awesome... concept is clear. thanks

  • @shawon791
    @shawon791 2 ปีที่แล้ว +2

    Great explanation brother. You made it super easy.

  • @arfinchowdhuryarif
    @arfinchowdhuryarif ปีที่แล้ว

    Best video of Callback Pattern ever.

  • @trishansaha8485
    @trishansaha8485 2 ปีที่แล้ว +5

    mone hoy na callback niye basic knowledge r baki ache. Thanks!!!

  • @arfinchowdhuryarif
    @arfinchowdhuryarif 2 ปีที่แล้ว +1

    jodi getCertificate a o perameter diya lage tahole okane o akta funtion body patate hobe same ager motoi ?

  • @mr.promit5418
    @mr.promit5418 2 ปีที่แล้ว

    1st bar valo bujhi nai but porer bar a kapai dici tnx sumit vaiya for this great tutorial

  • @imranhossain8234
    @imranhossain8234 2 ปีที่แล้ว +1

    Thanks a lot for this tutorial
    "take user inputs by promt() method".....
    const paymentSucess = true;
    const marks = parseFloat(prompt("Enter your marks: "));
    const jobqulify = parseFloat(prompt("Enter your qualify marks: "));
    function enroll(callback){
    console.log("course enrollment in progress...");
    setTimeout(function(){
    if(paymentSucess){
    callback();
    }
    else{
    console.log("payment failed");
    }
    }, 2000)
    }
    function progress(callback2){
    console.log("course on progress...");
    setTimeout(function(){
    console.log("your certificate is preparing!!");
    if(marks >= 80){
    console.log("congrats!!! you got the certificate");
    callback2();
    }
    else{
    console.log("you are not eligible for certificate");
    }
    }, 3000)
    }
    function getCertificate(callback3){

    setTimeout(function(){
    console.log("waiting for the job result");
    if(jobqulify >= 95){

    callback3();
    }
    else{
    console.log("you are not qualified for this job");
    }
    }, 2000)
    }
    function getJob(){

    setTimeout(function(){
    console.log("congrats! you got this job");
    }, 1000)
    }
    enroll(function(){
    progress(function(){
    getCertificate(getJob)
    })
    });

  • @santanubhowmick2011
    @santanubhowmick2011 2 ปีที่แล้ว

    Many many thanks from Kolkata. Best JavaScript tutorial in my native language. Earnest love from my heart

  • @sabbirhossen7138
    @sabbirhossen7138 2 ปีที่แล้ว

    sotti vaia amara onek vaggonan .......apnar ai tutorial gola peye....valobasa niben vaia duwa tahakbe apnar r apnar familyr jonno

  • @afzalhussainnipu8424
    @afzalhussainnipu8424 2 ปีที่แล้ว

    আলহামদুলিল্লাহ, সুন্দর প্রেসন্টেশন

  • @arfinchowdhuryarif
    @arfinchowdhuryarif 2 ปีที่แล้ว

    Brillient Tutorial vai

  • @MarufHasanShihab99
    @MarufHasanShihab99 8 หลายเดือนก่อน

    Thanks for the detailed video Dada. Very informative💖 Watch Date: 08-01-2024

  • @saykatsarkar5985
    @saykatsarkar5985 ปีที่แล้ว

    Your effort can't be describe in word
    Take love bro

  • @ShuvoMallick
    @ShuvoMallick ปีที่แล้ว

    Great explanation.. Clear Concept..

  • @munnikhanam111
    @munnikhanam111 ปีที่แล้ว

    Thank you Dada. It's become very easy for me now😊

  • @mahfuzcreativity1431
    @mahfuzcreativity1431 ปีที่แล้ว

    তিনবার দেখার পর এখন ভালোভাবে বুঝতে পারলাম

  • @ibrahimsikder7272
    @ibrahimsikder7272 2 ปีที่แล้ว

    Etu easy kore bujano r kutaw dekini...Thanks you so much form my core

  • @TheSifatMahmud
    @TheSifatMahmud 2 ปีที่แล้ว +1

    Vai ektu different vabe korechi ... eaivabeu kora jai arki :
    function enroll(callback, parameter) {
    console.log("Course enrollment is in process.");
    setTimeout(function () {
    if (paymentSuccess) {
    callback(parameter);
    } else {
    console.log("Payment failed!");
    }
    }, 2000)
    }
    function progress(callback) {
    console.log("Course on progress...");
    setTimeout(function () {
    if (marks >= 80) {
    callback();
    } else {
    console.log("You could not get enough marks to get the certificate!");
    }
    }, 3000)
    }
    function getCertificate(){
    console.log("Preparing your certificate!");
    setTimeout(function () {
    console.log("Congrates! you got the certificate.");
    }, 1000)
    }
    enroll(progress, getCertificate)

  • @abunurullah2340
    @abunurullah2340 ปีที่แล้ว

    Many Many Thanks

  • @sharkozisBud
    @sharkozisBud 2 ปีที่แล้ว +1

    আচ্ছা একটা প্রশ্ন যে
    callback() সে কি synchronous function নাকি asynchronous?
    যদি সে নিজেই asynchronous হয় তাহলে তাকে আবার কেন asynchronous function এর মধ্যে দেয়া লাগবে???

    • @md.mahaburrahmannadim233
      @md.mahaburrahmannadim233 2 ปีที่แล้ว

      callback can be syncronous and aslo asynchronous. If the callback fn invock in the parent function then it's call syncronous callback. But if the callback fn call the parent fn in a sertain event than it's called asyncronous callback fn

  • @muhammadjishan5499
    @muhammadjishan5499 9 หลายเดือนก่อน

    successfully done sir

  • @arupkumar6332
    @arupkumar6332 2 ปีที่แล้ว

    awesome real time example

  • @SajalBiswas-v3g
    @SajalBiswas-v3g 11 หลายเดือนก่อน

    Thank you so much

  • @polyconhousewares1187
    @polyconhousewares1187 ปีที่แล้ว

    Thanks 🙂

  • @TheWayOfTheEarth
    @TheWayOfTheEarth 2 ปีที่แล้ว

    ai kaj tar output dekhale vlo hoto!

  • @jubayer-ahmed46
    @jubayer-ahmed46 6 หลายเดือนก่อน

    acca vaiya jodi getSertificate e kuno paramiter dei tahole ki call korar somoy progress(getSertificate(para))
    ebabe dibo nki

  • @naimeimran3247
    @naimeimran3247 2 ปีที่แล้ว

    Thanks

  • @kawsarahmed7045
    @kawsarahmed7045 2 ปีที่แล้ว

    এসিনক্রোনাস বিহেভিয়র জানতাম বাট এরকম কেউ সুন্দর করে এক্সপ্লেইন করতে দেখিনি

  • @rihanmahmud3054
    @rihanmahmud3054 2 ปีที่แล้ว

    Vai eto sunodor kore kemna present koren, I am a fan of u!!!!!!!!

  • @tamalmallick887
    @tamalmallick887 2 ปีที่แล้ว

    awesome dada

  • @anismahmud3636
    @anismahmud3636 2 ปีที่แล้ว +1

    Nice

  • @SirajulShuvo
    @SirajulShuvo 7 หลายเดือนก่อน

    🥳🥳🥳

  • @ArshihasWorld
    @ArshihasWorld 2 ปีที่แล้ว

    Thank you so much vaiya....Watch date: 8 aug, 2022

  • @mstjesmin5491
    @mstjesmin5491 2 ปีที่แล้ว

    Thanks vai

  • @alaminmiah3333
    @alaminmiah3333 2 ปีที่แล้ว

    Thank you

  • @riyadhossain1706
    @riyadhossain1706 2 ปีที่แล้ว

    Tutorial No .83 - Watched

  • @sushibilai
    @sushibilai 2 ปีที่แล้ว

    best

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 2 ปีที่แล้ว

    😍😍😍

  • @shaonsikdar8738
    @shaonsikdar8738 2 ปีที่แล้ว

    24 aug, 22 + 25 aug, 22

  • @pabitrawedsarpita180
    @pabitrawedsarpita180 2 ปีที่แล้ว

    It will be useful if we get the code written in this class

  • @zillurcse
    @zillurcse 2 ปีที่แล้ว

    এতো ক্লিয়ার করে কেউই বুঝাতে পারে! জাভাস্ক্রিপ্টে রিয়াল লাইফে এপ্লিকেশন করার সময় সবচেয়ে বেশি ব্যাবহার করা একটা জিনিস কলব্যাক। আমি জানতাম এবং কাজ করি নিয়মিত তবুও মনে হচ্ছে অনেকে কিছু জানলাম।

  • @khalidhossain9383
    @khalidhossain9383 2 ปีที่แล้ว +1

    এত সময় নিয়ে ভেঙে ভেঙে বুঝানো কনটেন্ট খুবই দুষ্কর..!

  • @arafathossain6548
    @arafathossain6548 2 ปีที่แล้ว

    thanks