How Middleware Works

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

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

  • @ryanford516
    @ryanford516 Год назад

    This explanation is a real knowledge gem. So glad I came across it, thanks for the upload!

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

    You're the best and you won't be able to appreciate how much your classes help me.

  • @georgijs.klavins
    @georgijs.klavins 3 года назад +2

    Shouldnt the first middleware be executed first and not the other way around?

  • @sonoftroy8572
    @sonoftroy8572 2 месяца назад

    Hey @Codecourse this is great material. But I view it as an intro to learning about middleware stacks instead of a deeper understanding of how middleware works as a whole. Not sure if this video was meant for beginners because this concept will confuse beginners right from the start.

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

    Your voice is so soft, i like it so much

  • @avfoxstudios3226
    @avfoxstudios3226 Год назад

    great explanation...thx

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

    Thank you sir, very helpful

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

    Great video.

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

    Please make a tutorial on how to use this to implement a regex-based routing mechanism kind of like in Slim.

    • @coderswat
      @coderswat Год назад

      are you sure about that!

  • @aidennymes6335
    @aidennymes6335 3 года назад +1

    is there a reason why middleware is called in reverse order that they got added? I find it quite counter intuitive somehow

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

      I was also thinking the same thing but its because it uses a stack algorithm which means the last added item is run first. Try to visualize stack and how it works.

    • @dAvid3_f
      @dAvid3_f Год назад

      The way the stack is implemented and called here, is called FILO (First in, last Out).

    • @aidennymes6335
      @aidennymes6335 Год назад +1

      the question was not about the implementation, rather the fakt that it's reversed. I would simply call them through an function pointer array in the order they were added.

    • @dAvid3_f
      @dAvid3_f Год назад

      @@aidennymes6335 ok got it

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

    Great tutorial

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

    Perfect video

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

    Great tutorial this one

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

      A tip : you can watch series at flixzone. Me and my gf have been using it for watching lots of of movies these days.

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

      @Timothy Leland yea, I've been using Flixzone} for since december myself :D

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

    Great!

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

    Editor Theme ?

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

    plz project link i am noob

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

    I need ur editor theme

  • @Protoscribe
    @Protoscribe 4 года назад +5

    360p Squad.

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

    First 😎

    • @codecourse
      @codecourse  4 года назад +8

      I watched it first, though 💃

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

      @@codecourse Hahah smooth ;-)

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

    Thank you sir, very helpful