Junior Code Review: 13 Tips from Cryptocracy Project
Another review of a code submitted by one of you in the audience, with a lot of topics to cover.
00:00 Intro
01:11 Naming Things Properly
02:09 Route Grouping
03:33 “Special“ Route with dd()
04:37 Global Middleware with Redirect
05:23 This Should NOT Be in Controller
06:45 “Cool“ Laravel Collections
08:07 Too “Fat“ Model?
09:23 Config Helper
09:48 Don’t Use $request-all()
10:22 Shorter Way to Create DB Record
11:25 No Extra Variables/Methods
12:29 Ternary Operator or If-Else
13:26 Eloquent firstOrCreate
Related links:
- Project Repository:
- Intro to with Laravel Breeze Example
- Danger of Using $request-all(), and How to Protect
- - - - -
Support the channel by checking out our products:
- Enroll in my Laravel courses:
- Try our Laravel QuickAdminPanel:
- Purchase my Livewire Kit: https://livewirekit.
12 views
81
26
3 months ago 00:08:28 30
Лучшие бесплатные курсы и книги по Python в 2024 год.
3 months ago 00:26:49 1
Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]
3 months ago 00:02:07 1
🎵🌟New Songs Of The Week By Scandinavian Participants (June 15 - June 21) | New Music Eurobladet
3 months ago 00:03:08 1
🇩🇰Top-10 entries from Denmark at Eurovision (2014-2024) by amount of points given by televote
3 months ago 00:12:33 1
С нуля до 100 000 за полгода | Что должен знать JUNIOR PYTHON разработчик в 2023
3 months ago 00:08:42 1
Как изменять голос в играх | Как говорить женским голосом | Говорим голосами блогеров
3 months ago 00:03:11 1
🇮🇸Top-10 entries from Iceland at Eurovision (2014-2024) by amount of points given by televote
3 months ago 00:00:57 1
Joost Klein - Florida 2009 (english translation / lyrics) | 🇳🇱 Netherlands Eurovision 2024
3 months ago 00:04:39 5
Dianne Durham Gymnastics Tribute (1968 - 2021)
4 months ago 00:14:15 1
BREAKING ALERT! The Draft Is Passes Defense Draft Bill-Men Ages 18-26!
4 months ago 00:31:15 1
EXCLUSIVE! Hunter Biden’s Baby Mama Lunden Roberts REVEALS ALL!
4 months ago 00:04:02 1
I Want to Know What Love Is - Gabriel Henrique, Coral Black To Black
4 months ago 00:41:18 1
Frontend Собеседование с разбором. Путь к трудоустройству 2024
4 months ago 00:36:17 1
Hush Money Mistrial For Trump? What BIG Events Could Come Soon.. Juanito Explains..
4 months ago 00:13:06 1
ВОТ ПОЧЕМУ ТЫ БРОСИШЬ ПРОГРАММИРОВАНИЕ! Твои главные ошибки.