Getting deeper into Slim Routes - The ULTIMATE Web-API course with PHP & Slim [Ep. 003]

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



Duration: 11:08
286 views
14


In this episode of the “The ULTIMATE Web-API course” we are going to dive a lot deeper into the routing system of Slim. We will register more route types like POST and we are also going to take a look at grouping routes which eleminates unnecessary overhead. Speaking about routes also involves using route parameters like the "id" in "https://robbelroot.de/api/users/{id:[0-9]+}". Those are basically placeholders which can be used for better routing and validating URLs.

🌐 Video resources: (coming soon) https://robbelroot.de

📖 Chapters
00:00 Intro
00:43 Registering a POST Route
01:34 Organizing Routes
01:59 Creating a config folder
04:53 Grouping Routes
05:51 Creating a route argument
06:48 Receiving args from routes
07:24 Ensuring arg type
08:19 Using regular expressions
09:19 Naming Routes
09:46 Optional Segments
10:03 Additional Route Registering

HASHTAGS: #slim #php #routes #routing #framework #webprogramming #programming #tutorial




Other Videos By RobbelRoot


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
2021-10-24VB.NET Command Pattern (Do/Undo) Beispiel mit einem Fernseher – Saubere Programmierung
2021-10-23Dog doesn’t want me to wash my hairs 🤦‍♂️
2021-10-23VB.NET PancakeSwap Preis API erstellen – Web-Schnittstellen ansprechen und Daten verarbeiten in .NET
2021-10-15Großer Stock
2021-10-10Verabschiede Dich von unnötigen Ifs und Selects, Refactoring - Saubere Programmierung



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
post
put
delete
options
request
requests