What is an API?

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии •

  • @rickysterling9194
    @rickysterling9194 4 года назад +1

    Best channel for JS
    Very comprehensive & in depth

  • @ianpaul0520
    @ianpaul0520 4 года назад

    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.

  • @aikanshgarg8995
    @aikanshgarg8995 6 лет назад +1

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

  • @imanidioli
    @imanidioli 3 года назад

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

  • @juniordallagnolo3983
    @juniordallagnolo3983 6 лет назад

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

  • @webstuff56
    @webstuff56 6 лет назад +1

    thank you for the play list topic

  • @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

  • @luisdi3462
    @luisdi3462 2 года назад

    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  2 года назад +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 2 года назад

      @@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

  • @pauldouglas9453
    @pauldouglas9453 6 лет назад +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  6 лет назад

      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.

  • @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 - ruclips.net/video/7EKebb4VUYQ/видео.html

    • @webstuff56
      @webstuff56 6 лет назад

      haha faster than a speeding bullet....

  • @joeyng1282
    @joeyng1282 4 года назад

    So basically, API is like a library, right?