Junior Code Review: Better Routes, CRUDs and Validation
Another code review from me, with a set of tips on how to structure the code better.
00:00 Intro
00:40 Route::get() to Route::view()
01:35 Formatting Code
02:15 Restructure Route Groups
04:14 Controllers: Naming Variables
05:29 Profile: No Resource Controller
06:46 Controller: Don’t Pass Auth::user()
07:30 Controller Empty Methods
07:49 Profile Update: Make it Shorter
12:11 Debug of Validation Error
15:21 Controller: Load Too Much Data
16:14 Relationship Foreign Key Fields
- - - - -
Support the channel by checking out our products:
- Try our Laravel QuickAdminPanel:
- Enroll in my Laravel courses:
- Purchase my Livewire Kit:
- Subscribe to my weekly newsletter:
4 views
762
210
2 months ago 00:08:28 30
Лучшие бесплатные курсы и книги по Python в 2024 год.
2 months ago 00:26:49 1
Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]
2 months ago 00:02:07 1
🎵🌟New Songs Of The Week By Scandinavian Participants (June 15 - June 21) | New Music Eurobladet
2 months ago 00:03:08 1
🇩🇰Top-10 entries from Denmark at Eurovision (2014-2024) by amount of points given by televote
2 months ago 00:12:33 1
С нуля до 100 000 за полгода | Что должен знать JUNIOR PYTHON разработчик в 2023
2 months ago 00:08:42 1
Как изменять голос в играх | Как говорить женским голосом | Говорим голосами блогеров
2 months ago 00:03:11 1
🇮🇸Top-10 entries from Iceland at Eurovision (2014-2024) by amount of points given by televote
2 months ago 00:00:57 1
Joost Klein - Florida 2009 (english translation / lyrics) | 🇳🇱 Netherlands Eurovision 2024
2 months ago 00:04:39 5
Dianne Durham Gymnastics Tribute (1968 - 2021)
2 months ago 00:14:15 1
BREAKING ALERT! The Draft Is Passes Defense Draft Bill-Men Ages 18-26!
2 months ago 00:31:15 1
EXCLUSIVE! Hunter Biden’s Baby Mama Lunden Roberts REVEALS ALL!
2 months ago 00:04:02 1
I Want to Know What Love Is - Gabriel Henrique, Coral Black To Black
2 months ago 00:41:18 1
Frontend Собеседование с разбором. Путь к трудоустройству 2024
3 months ago 00:36:17 1
Hush Money Mistrial For Trump? What BIG Events Could Come Soon.. Juanito Explains..
3 months ago 00:13:06 1
ВОТ ПОЧЕМУ ТЫ БРОСИШЬ ПРОГРАММИРОВАНИЕ! Твои главные ошибки.