The middleware concept (eg. authentication) - The ULTIMATE Web-API course with PHP & Slim [Ep. 004]

Channel:
Subscribers:
3,810
Published on ● Video Link: https://www.youtube.com/watch?v=7Wwt3_CdCvs



Duration: 19:07
478 views
24


In episode 4 we will talk about the concept of middlewares like which mostly stays in contact with authentication, authorization, logging and more. You will learn what actually is a middleware and how to register it. Then we will talk about common traps and like registering to route groups, or only specific single routes.

🌐 Website:
https://robbelroot.de

📄 Official Slim Documentation:
https://www.slimframework.com/docs/v4

📖 Chapters
00:16 Recap of last episode
01:20 My little request
01:40 Let's get started
02:37 Easiest middleware example
03:56 A word on HTTP
04:54 Middleware order is important
05:19 A new config file
06:17 Middleware config skeleton
07:00 First middleware
08:00 Getting url parameters inside middlewares
09:57 Creating a response
12:04 Testing the middleware
13:29 Important note
14:44 Avoiding repetitions on responses
15:32 Responding with status text
16:21 A general advice
17:58 Recap

HASHTAGS: #slim #php #middleware #framework #webprogramming #programming #tutorial




Other Videos By RobbelRoot


2022-05-11Ist mein 1000€ StepN Investment futsch!? +Activation Code - StepN (deutsch) Reise Update 1
2022-05-0735€ am Tag fĂŒr's Laufen oder Totalverlust? Meine Reise mit StepN (deutsch) - Move2Earn
2022-04-01🎓 Programmieren lernen mit meinem individuellen Unterricht
2022-04-01Wenn die Transportsoftware mal wieder spinnt.. [PARODIE]
2022-02-25When hopes and prayers don’t help #shorts #ukraine
2022-02-18Erstelle Dein eigenes VB NET Plugin-System – das ULTIMATIVE Tutorial
2022-02-18INI-Dateien lesen und schreiben in VB.NET – Einstellungen verwalten (Remake)
2022-02-07If your dog 🐕 bullies you
 #
2022-01-22Hacking a Webshop – HOW to and how NOT to fall for this common trap!
2022-01-15Dependency Injection in Slim - The ULTIMATE Web-API course with PHP & Slim [Ep. 005]
2022-01-14The middleware concept (eg. authentication) - The ULTIMATE Web-API course with PHP & Slim [Ep. 004]
2022-01-12Hacking a .NET Application or how to avoid getting hacked | counts for like all client code!
2022-01-11Convert DaVinci Resolve markers to YouTube chapters (EDL files)
2022-01-11Die aktuelle Börsensituation mit Mr. DĂŒm-dĂŒdĂŒm-dĂŒdĂŒm-dĂŒdĂŒm #Shorts
2022-01-09New RobbelRoot Channel Trailer
2022-01-06Getting deeper into Slim Routes - The ULTIMATE Web-API course with PHP & Slim [Ep. 003]
2022-01-05Creating our first little Slim-App example - The ULTIMATE Web-API course with PHP & Slim [Ep. 002]
2022-01-05Setting up our developer environment - The ULTIMATE Web-API course with PHP & Slim [Ep. 001]
2021-11-03Doggo goes crazy when im only touching my jacket
2021-10-26Doggo thinks i can‘t see him hiding behind the bush, bruh..
2021-10-26Doggo wants to play hide and seek



Tags:
programming
web
application
api
json
slim
slim4
interface
php
language
tutorial
course
free
hd
webapp
software
development
deploy
full
study
guide
explanation
helloworld
microframework
server
webserver
cgi
ini
http
https
xampp
winnmp
mariadb
mysql
doctrine
example
first
route
routes
grouping
middleware
get
request
requests
middlewares
concept
authorization
authentication