What is an API?

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

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

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

    Best channel for JS
    Very comprehensive & in depth

  • @ianpaul0520
    @ianpaul0520 3 ปีที่แล้ว

    For the pass year of my college life until i know graduated, when ever i couldn't sleep i pop your content and listen after a while i've haven't notice that i just slept.

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

    I have to watch all your videos; two things are going to happen:
    1-Understanding.
    2-Correct the past understandings.
    Respect 🙏

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

    thank you for the play list topic

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

    Thanks a ton!!! Also, your voice is so soothing! :D

  • @juniordallagnolo3983
    @juniordallagnolo3983 6 ปีที่แล้ว

    1.3K and going up! Keep up the good job Steve!

  • @ForCodingInterview
    @ForCodingInterview 3 ปีที่แล้ว

    inside api variable... Why return statement has parenthesis for returning an object?
    var api = {
    ....
    return ({
    ....
    })
    }

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  3 ปีที่แล้ว +1

      Makes it more readable and also protects it from changes. If the { were to drop to the line below the return then it would stop working. It would return undefined instead. Also good practice for things in frameworks like React

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

    Like the videos, but not getting the var aa: function(){ ... syntax; node won't run it, and I can't see that 'var aa: function' is valid for either json or javascript

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  5 ปีที่แล้ว

      Nope. You are right. With the dummy code that I wrote, I had an earlier version which was an object using
      aa: function( ){
      }
      With the 'var' in front of it though the colon should be an equal sign.
      Never ran the code so didn't notice the error.

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

    hi I'm kind of lost, well I've learned to use mysql with probably all of your playlist for that, now I need to learn php to complete my backend skills and start doing something on my own but I don't really know where to start with that, any hint? i'm here because i've heard that mysql communicates with the frontend with an API... so yeah, i'm lost hehe

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  ปีที่แล้ว +1

      MySQL is data storage.
      HTTP Requests are made from the browser to the server side API with the JavaScript fetch( ) method.
      The server side API is the code that you write with PHP or ASP.Net or NodeJS or Ruby or Python, etc.
      I have a playlist on server side NodeJS and one on a library called Express that you use with NodeJS to build a server / API

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

      @@SteveGriffith-Prof3ssorSt3v3 thanks for the help, I'll try out the nodejs playlist, but if you have one that helps me doing it with php let me know please, greetings

  • @webstuff56
    @webstuff56 6 ปีที่แล้ว

    are you going to be teaching JSON/AJAX as well?

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  6 ปีที่แล้ว

      Yep. I already have a playlist for that too - th-cam.com/video/7EKebb4VUYQ/w-d-xo.html

    • @webstuff56
      @webstuff56 6 ปีที่แล้ว

      haha faster than a speeding bullet....

  • @joeyng1282
    @joeyng1282 3 ปีที่แล้ว

    So basically, API is like a library, right?