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
936
260
14 years ago 00:14:15 38
110825 Mnet Beatles Code - Super Junior (1/4)
4 years ago 00:17:29 17
Laravel Junior Code Review: Security and Consistency
14 years ago 00:13:43 12
110825 Mnet Beatles Code - Super Junior (2/4)
4 years ago 00:15:30 19
Laravel Junior Code Review: 12 Tips on Everything
4 years ago 00:17:58 20
Junior Code Review: Better Routes, CRUDs and Validation
4 years ago 00:19:57 45
Junior Code Review: Laravel Routes, Middleware, Validation and more
4 years ago 00:15:01 12
Junior Code Review: 13 Tips from Cryptocracy Project