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:
Back to Top