Junior Code Review: Better Routes, CRUDs and Validation

preview_player
Показать описание
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:
Рекомендации по теме
Комментарии
Автор

very helpful video. We hope to produce more videos like this to assist junior developers. The video helps shorten the learning curve for junior developers

ryiad
Автор

It's a very tedious task to review someone's code....thanks sir for bringing this great CODE REVIEW content.
This actually helps us to rectify our mistakes because we also do a lot of these bad coding practices

randomguy
Автор

This is by far the best code reviews i've seen in laravel here on youtube. Well done! I'll be watching more videos and learn more.

JSONFX
Автор

The $request->validate() function also return an array of validated fields, you can use that if you don't want a separate FormRequest class.

jordysinke
Автор

I learned a lot about this topic, I hope more code review contents sir!

venzolarte
Автор

you are great sir, this help us to avoid these mistakes. Thank you!

mahmoudelsherbeny
Автор

Thank you for another daily video Sir.

ricko
Автор

Thank You So much. This Review is amazing

onestpaul
Автор

Those code reviews help me to much! Thanks for this content!

RodrigoMedeirosBrazil
Автор

I love this! This is probably the best thing I've come across on Youtube for learning.

joshuaheathcote
Автор

you are doing grate thing sir! thanks!!

mahmoudelbashir
Автор

yo man, your seniors tips are awesome, i realy like when the code it transformed in more readeble. i will implements all what i have learned today

matiasmartinflores
Автор

Amazing Video Sir! I’m trying to climb to intermediate level and playing around with packages, and your video truly amazed me! I have learnt a lot from u.

steveag
Автор

another bombshell video, my daily routine

adebajooluwaseyi
Автор

Thanks Povilas as always! Keep working!

belce
Автор

good video as always, greetings from Brazil

RenanFxDs
Автор

It´s very awesome to sharing your experiences with us. Thank you very much for that.

tenariusstuff
Автор

Thank you, i learn new things everyday with you, thank you very much

SmailPeche
Автор

wow, that was amazing 😍😍 pls keep going this way

ممدو-صث
Автор

Thanks for the code review, really learned a lot

developersmeetup