Junior Code Review: Laravel Routes, Middleware, Validation and more
As a part of my new Laravel mentorship program in my home country Lithuania, I started doing code reviews of my student developers. Here’s a 20-minute example that I decided to publish on Youtube - should be useful to you guys, too.
00:00 Intro
01:33 Route Grouping
04:08 Shorter Middleware Class
07:01 Middleware with Parameters
09:06 Migrations with Foreign Keys
10:32 Controller Index Refactor
14:03 Code Styling
14:46 Store and Validation
18:00 Update and Route Model Binding
Related resources:
- Route grouping: #route-groups
- Middleware with Parameters: #middleware-parameters
- Migration foreign keys: #foreign-key-constraints
- PHP Ternary operator: @sayantinideb/ternary-operator-in-php-how-to-use-the-php-ternary-operator-x0ubd3po6
- Eloquent “When“ method:
1 view
1022
323
2 months ago 00:26:49 1
Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]
2 months ago 01:53:01 1
Полный курс по Next js - Изучи Nextjs за 2 часа! | React SSR +таймкоды
2 months ago 00:21:15 1
Will AI Replace Web Developers and Software Engineers by 2030?
2 months ago 15:33:59 1
Unity - Лучший курс | С Нуля до Junior за ОДНО видео
2 months ago 00:06:31 1
MARILIA GABRIELA E A SOLIDÃO DA MULHER CARREIRISTA
2 months ago 00:00:00 1
2024 Quarter Horse Congress VS Code Red Coliseum Thursday - October 17, 2024
2 months ago 00:03:08 1
Andria Putkaradze To My Mom 🇬🇪 Georgia ( Music Video Junior Eurovision 2024)
3 months ago 00:05:09 1
Welcome to Juniors Maroubra Fun Run & Oktoberfest 2024! Invitation
3 months ago 00:03:00 1
Nala & Kovu | If уσυ ωєяє мє - CROSSOVER [Part.3]
3 months ago 00:03:29 1
Nala & Kovu | Uи∂яєѕѕ мє - CROSSOVER [Part.6]
3 months ago 00:01:00 1
Задача из Собеседования в Google и Amazon #java #собеседование #google