Junior Code Review: 5 Tips for Over-Engineered Example

  Рет қаралды 3,268

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 19
@tusharnain6652
@tusharnain6652 Күн бұрын
Hi everyone, the featured code was mine (just a starter for a big project), which featured a directory structure designed for larger projects, thinking ahead about scalability. Povilas provided great feedback on it being over-engineered for a smaller project, which I completely agree with. Honestly i think using laravel for any small project is an overkill in itself (its like using a sword to kill a bee). It's a valuable reminder to balance complexity with the project's size. Also for the admin authentication, i chose to go with custom solution instead for breeze, etc is because its going to be more complex later. Highly recommend checking out this series if you're looking to improve your coding skills!
@o_lobato
@o_lobato Күн бұрын
A project can be really small and still need authentication, authorization for resources control access, database management (migration, etc), notifications, queues, and so one! So its far from being a sword to kill a bee.
@tusharnain6652
@tusharnain6652 Күн бұрын
@o_lobato Imo, for smaller projects, we got smaller framework like CI4, etc
@aamirsohailkmas
@aamirsohailkmas Күн бұрын
I remember when I was a beginner, my goal was to make a structure that can be extended without problems, for example using a global model class that extends Laravel's model and similar case for other vendor classes, 😅
@rock3rkis670
@rock3rkis670 Күн бұрын
I think a Trait should have been used here.
@iamriwash7943
@iamriwash7943 9 сағат бұрын
flashToast can use inside helper funtion also
@Aymen-y8j
@Aymen-y8j Күн бұрын
Do more of these pleass
@AndiSyafrianda
@AndiSyafrianda 17 сағат бұрын
"Premature optimization is the root of all evil." - Donald Knuth
@rihardstirums6698
@rihardstirums6698 Күн бұрын
Hey how would you approche in laravel 11 translatable url slugs? When user switches pages language so it updates the slugs into url menu.
@krekas
@krekas Күн бұрын
The same way as with earlier laravel versions
@rihardstirums6698
@rihardstirums6698 Күн бұрын
Hey @ can you please provide some guide (link, post) where i can learn more about this ? I wasn't able to find it.
@LaravelDaily
@LaravelDaily Күн бұрын
We have a full course on multi-language Laravel, so pretty sure you will find it somewhere here, depending on what package (if any) you're using: laraveldaily.com/course/multi-language-laravel
@RubensRocha
@RubensRocha Күн бұрын
Which contact channel can I use to send a code for analysis?
@LaravelDaily
@LaravelDaily Күн бұрын
Email povilas@laraveldaily.com
@keyvanakbarzadeh
@keyvanakbarzadeh 15 сағат бұрын
nice
@NeverCodeAlone
@NeverCodeAlone Күн бұрын
Very good video.
@ZeinotGaming
@ZeinotGaming Күн бұрын
over engineering classic newbie mistake
@turculaurentiu91
@turculaurentiu91 2 сағат бұрын
I've seen a lot of "seniors" doing similar mistakes.
React.js with Inertia in Laravel: Practical Example
8:56
Laravel Daily
Рет қаралды 2,1 М.
So I've Analyzed 100+ Laravel Open-Source Projects...
11:40
Laravel Daily
Рет қаралды 4,1 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 17 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 5 МЛН
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 31 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 58 МЛН
How To Build Feature Flags Like A Senior Dev In 20 Minutes
20:33
Web Dev Simplified
Рет қаралды 51 М.
Advanced Laravel: Service Container & Providers (Primitives)
6:06
Jordan Dalton
Рет қаралды 4,9 М.
The Joy of Testing by Victor Rentea
2:45:36
Devoxx
Рет қаралды 7 М.
So I've tried 3 popular Laravel CMSs...
17:53
Laravel Daily
Рет қаралды 10 М.
How to Measure Time Correctly in .NET
9:43
Nick Chapsas
Рет қаралды 34 М.
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 107 М.
Let's talk about Events and Listeners
8:23
Laravel
Рет қаралды 1,3 М.
Refactoring a React Component (Design Patterns)
28:20
Cosden Solutions
Рет қаралды 15 М.
Laravel Roles/Permissions: Complex Multi-Clinic Project
13:03
Laravel Daily
Рет қаралды 10 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 17 МЛН