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.
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.
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.
This explanation is a real knowledge gem. So glad I came across it, thanks for the upload!
You're the best and you won't be able to appreciate how much your classes help me.
Shouldnt the first middleware be executed first and not the other way around?
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.
Your voice is so soft, i like it so much
great explanation...thx
Thank you sir, very helpful
Great video.
Please make a tutorial on how to use this to implement a regex-based routing mechanism kind of like in Slim.
are you sure about that!
is there a reason why middleware is called in reverse order that they got added? I find it quite counter intuitive somehow
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.
The way the stack is implemented and called here, is called FILO (First in, last Out).
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.
@@aidennymes6335 ok got it
Great tutorial
Perfect video
Great tutorial this one
A tip : you can watch series at flixzone. Me and my gf have been using it for watching lots of of movies these days.
@Timothy Leland yea, I've been using Flixzone} for since december myself :D
Great!
Editor Theme ?
plz project link i am noob
I need ur editor theme
360p Squad.
First 😎
I watched it first, though 💃
@@codecourse Hahah smooth ;-)
Thank you sir, very helpful